starting build "4e522f9d-6631-42e5-a15b-c33fd507fac3" 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-70682f06-b6cf-4954-bd9c-677d16a6200b" Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Already have image (with digest): gcr.io/cloud-builders/docker Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Sending build context to Docker daemon 3.584kB Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": latest: Pulling from oss-fuzz-base/base-builder Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b549f31133a9: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ef3c76f7df30: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 9f8f643d8006: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b64057a12e1c: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 662006bb0807: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 4b503ca9d9bc: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f1a29e744437: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a2a22f967804: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": e72648080e63: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 945b5a62f111: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a33fbe52522f: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cb8adac1e4ac: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6ce5e7ad829b: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 78b3cc2fa6e6: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 197024c931b9: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 940045afa063: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 1a3163cb01c1: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 7ea3debb8cbd: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2b97e04a97b5: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f8a36e1c021e: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 3c9abd7d8840: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a2a22f967804: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f92ce4f9f90d: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a8835054d016: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": e72648080e63: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b685c4d35c3a: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dac9741d43d2: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6ce5e7ad829b: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f1a29e744437: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dc9f433701a6: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 44fc7f7b3c67: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 78b3cc2fa6e6: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 67a3febf6e4c: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 981575c1df4c: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 197024c931b9: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 98a640299daa: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2820a6581e2a: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 82f096e556a3: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 940045afa063: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6b6d59cb5bb8: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b172b1ba4696: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6a11c270d7cc: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": d9b527ce6e49: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2869f64c54c1: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 8d2570283fa5: Pulling fs layer Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 1a3163cb01c1: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 7ea3debb8cbd: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2b97e04a97b5: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f8a36e1c021e: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 3c9abd7d8840: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2820a6581e2a: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 945b5a62f111: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f92ce4f9f90d: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 82f096e556a3: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a33fbe52522f: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a8835054d016: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6b6d59cb5bb8: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b685c4d35c3a: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b172b1ba4696: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6a11c270d7cc: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dac9741d43d2: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": d9b527ce6e49: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dc9f433701a6: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2869f64c54c1: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 44fc7f7b3c67: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 8d2570283fa5: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 67a3febf6e4c: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 98a640299daa: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cb8adac1e4ac: Waiting Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 662006bb0807: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 662006bb0807: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 9f8f643d8006: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 9f8f643d8006: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f1a29e744437: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f1a29e744437: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a2a22f967804: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a2a22f967804: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b549f31133a9: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b549f31133a9: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b64057a12e1c: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b64057a12e1c: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a33fbe52522f: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a33fbe52522f: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cb8adac1e4ac: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cb8adac1e4ac: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6ce5e7ad829b: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6ce5e7ad829b: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 78b3cc2fa6e6: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ef3c76f7df30: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ef3c76f7df30: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 940045afa063: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 945b5a62f111: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 945b5a62f111: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 197024c931b9: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 197024c931b9: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 7ea3debb8cbd: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 7ea3debb8cbd: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2b97e04a97b5: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f8a36e1c021e: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f8a36e1c021e: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 1a3163cb01c1: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 3c9abd7d8840: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 3c9abd7d8840: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f92ce4f9f90d: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f92ce4f9f90d: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a8835054d016: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a8835054d016: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dac9741d43d2: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dac9741d43d2: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dc9f433701a6: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dc9f433701a6: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 44fc7f7b3c67: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b549f31133a9: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 67a3febf6e4c: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 67a3febf6e4c: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 981575c1df4c: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 981575c1df4c: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2820a6581e2a: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2820a6581e2a: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 82f096e556a3: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 82f096e556a3: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6b6d59cb5bb8: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6b6d59cb5bb8: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 98a640299daa: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 98a640299daa: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b172b1ba4696: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": e72648080e63: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6a11c270d7cc: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6a11c270d7cc: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": d9b527ce6e49: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2869f64c54c1: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2869f64c54c1: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 8d2570283fa5: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 8d2570283fa5: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ef3c76f7df30: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 9f8f643d8006: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 4b503ca9d9bc: Verifying Checksum Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 4b503ca9d9bc: Download complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b64057a12e1c: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 662006bb0807: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 4b503ca9d9bc: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f1a29e744437: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a2a22f967804: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": e72648080e63: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 945b5a62f111: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a33fbe52522f: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cb8adac1e4ac: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6ce5e7ad829b: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 78b3cc2fa6e6: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 197024c931b9: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 940045afa063: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 1a3163cb01c1: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 7ea3debb8cbd: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2b97e04a97b5: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f8a36e1c021e: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 3c9abd7d8840: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": f92ce4f9f90d: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": a8835054d016: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b685c4d35c3a: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dac9741d43d2: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": dc9f433701a6: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 44fc7f7b3c67: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 67a3febf6e4c: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 981575c1df4c: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 98a640299daa: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2820a6581e2a: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 82f096e556a3: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6b6d59cb5bb8: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": b172b1ba4696: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 6a11c270d7cc: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": d9b527ce6e49: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 2869f64c54c1: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 8d2570283fa5: Pull complete Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Digest: sha256:a4271b062282b1b60e392f6054a42ac413023120d26b14c4dc46e9afebb6e6bc Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> cdba03bb9c46 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> Running in 9c88d62ec635 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Fetched 383 kB in 1s (749 kB/s) Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Reading package lists... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Reading package lists... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Building dependency tree... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Reading state information... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": The following packages were automatically installed and are no longer required: Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": autotools-dev libsigsegv2 m4 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Use 'apt autoremove' to remove them. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": The following additional packages will be installed: Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cmake-data googletest libarchive13 libgflags2.2 libgoogle-perftools4 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libicu66 libjsoncpp1 libleveldb1d liblzma-dev libprotobuf-lite17 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libprotobuf17 libprotoc17 librhash0 libsnappy1v5 libtcmalloc-minimal4 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libunwind-dev libunwind8 libuv1 libxml2 zlib1g-dev Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Suggested packages: Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cmake-doc ninja-build lrzip leveldb-doc liblzma-doc Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": The following NEW packages will be installed: Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": cmake cmake-data googletest libarchive13 libgflags-dev libgflags2.2 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libgoogle-perftools-dev libgoogle-perftools4 libgtest-dev libicu66 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libjsoncpp1 libleveldb-dev libleveldb1d liblzma-dev libprotobuf-dev Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libprotobuf-lite17 libprotobuf17 libprotoc-dev libprotoc17 librhash0 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libsnappy-dev libsnappy1v5 libtcmalloc-minimal4 libunwind-dev libunwind8 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": libuv1 libxml2 protobuf-compiler zlib1g-dev Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Need to get 22.9 MB of archives. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": After this operation, 123 MB of additional disk space will be used. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.5 [327 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 googletest all 1.10.0-2 [623 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags2.2 amd64 2.2.2-1build1 [78.0 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags-dev amd64 2.2.2-1build1 [96.6 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libtcmalloc-minimal4 amd64 2.7-1ubuntu2 [93.0 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind8 amd64 1.2.1-9ubuntu0.1 [47.7 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools4 amd64 2.7-1ubuntu2 [195 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblzma-dev amd64 5.2.4-1ubuntu1.1 [147 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind-dev amd64 1.2.1-9ubuntu0.1 [472 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools-dev amd64 2.7-1ubuntu2 [445 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:18 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgtest-dev amd64 1.10.0-2 [1583 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb1d amd64 1.22-3ubuntu2 [139 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb-dev amd64 1.22-3ubuntu2 [191 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf17 amd64 3.6.1.3-2ubuntu5.2 [798 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotoc17 amd64 3.6.1.3-2ubuntu5.2 [646 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy-dev amd64 1.1.8-1build1 [29.0 kB] Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": 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-70682f06-b6cf-4954-bd9c-677d16a6200b": debconf: delaying package configuration, since apt-utils is not installed Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Fetched 22.9 MB in 1s (36.5 MB/s) Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libicu66:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": (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-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../00-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libxml2:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../01-libxml2_2.9.10+dfsg-5ubuntu0.20.04.10_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libuv1:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../02-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package cmake-data. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../03-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libarchive13:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../04-libarchive13_3.4.0-2ubuntu1.5_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libjsoncpp1:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../05-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package librhash0:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../06-librhash0_1.3.9-1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking librhash0:amd64 (1.3.9-1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package cmake. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../07-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package googletest. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../08-googletest_1.10.0-2_all.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking googletest (1.10.0-2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libgflags2.2. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../09-libgflags2.2_2.2.2-1build1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libgflags-dev. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../10-libgflags-dev_2.2.2-1build1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libgflags-dev (2.2.2-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libtcmalloc-minimal4:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../11-libtcmalloc-minimal4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libunwind8:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../12-libunwind8_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libgoogle-perftools4:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../13-libgoogle-perftools4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package liblzma-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../14-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libunwind-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../15-libunwind-dev_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libgoogle-perftools-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../16-libgoogle-perftools-dev_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libgtest-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../17-libgtest-dev_1.10.0-2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libsnappy1v5:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../18-libsnappy1v5_1.1.8-1build1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libleveldb1d:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../19-libleveldb1d_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libleveldb-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../20-libleveldb-dev_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libprotobuf-lite17:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../21-libprotobuf-lite17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libprotobuf17:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../22-libprotobuf17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libprotoc17:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../23-libprotoc17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package zlib1g-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../24-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libprotobuf-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../25-libprotobuf-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libprotoc-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../26-libprotoc-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package libsnappy-dev:amd64. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../27-libsnappy-dev_1.1.8-1build1_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Selecting previously unselected package protobuf-compiler. Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Preparing to unpack .../28-protobuf-compiler_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Unpacking protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up googletest (1.10.0-2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up librhash0:amd64 (1.3.9-1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libgflags-dev (2.2.2-1build1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Processing triggers for libc-bin (2.31-0ubuntu9.18) ... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Removing intermediate container 9c88d62ec635 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> 827ae97efed8 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Step 3/5 : RUN git clone --depth 1 https://github.com/apache/brpc.git Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> Running in daf298ee26ef Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Cloning into 'brpc'... Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Removing intermediate container daf298ee26ef Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> 16bbbd530616 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Step 4/5 : RUN cp $SRC/brpc/test/fuzzing/oss-fuzz.sh $SRC/build.sh Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> Running in df0589b55c0f Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Removing intermediate container df0589b55c0f Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> 0a6f57c19db4 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Step 5/5 : WORKDIR $SRC/brpc/ Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> Running in d15250e1cbc6 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Removing intermediate container d15250e1cbc6 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": ---> f1627f678629 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Successfully built f1627f678629 Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Successfully tagged gcr.io/oss-fuzz/brpc:latest Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b": Successfully tagged us-central1-docker.pkg.dev/oss-fuzz/unsafe/brpc:latest Finished Step #1 - "build-70682f06-b6cf-4954-bd9c-677d16a6200b" Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/brpc Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileq2ELmP 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=a54b6071ba4336dc6a2cc9ad242836b35a26ce62 Step #2 - "srcmap": + jq_inplace /tmp/fileq2ELmP '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "a54b6071ba4336dc6a2cc9ad242836b35a26ce62" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filemE3hG9 Step #2 - "srcmap": + cat /tmp/fileq2ELmP Step #2 - "srcmap": + jq '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "a54b6071ba4336dc6a2cc9ad242836b35a26ce62" }' Step #2 - "srcmap": + mv /tmp/filemE3hG9 /tmp/fileq2ELmP 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/fileq2ELmP Step #2 - "srcmap": + rm /tmp/fileq2ELmP 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": "a54b6071ba4336dc6a2cc9ad242836b35a26ce62" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-afl-address-x86_64" Step #3 - "compile-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-afl-address-x86_64": Copying precompiled AFL++ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": AFL++ target compilation setup: Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_UNKNOWN_ENVS=1 Step #3 - "compile-afl-address-x86_64": AFL_QUIET=1 Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_PROBLEMS=1 Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": done. Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": CC=/src/aflplusplus/afl-clang-fast Step #3 - "compile-afl-address-x86_64": CXX=/src/aflplusplus/afl-clang-fast++ Step #3 - "compile-afl-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope Step #3 - "compile-afl-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ Step #3 - "compile-afl-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": + '[' address = undefined ']' Step #3 - "compile-afl-address-x86_64": + mkdir -p build Step #3 - "compile-afl-address-x86_64": + cd build Step #3 - "compile-afl-address-x86_64": + cmake -DCMAKE_C_COMPILER=/src/aflplusplus/afl-clang-fast -DCMAKE_CXX_COMPILER=/src/aflplusplus/afl-clang-fast++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ' -DLIB_FUZZING_ENGINE=/usr/lib/libFuzzingEngine.a -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #3 - "compile-afl-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #3 - "compile-afl-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #3 - "compile-afl-address-x86_64": CMake. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #3 - "compile-afl-address-x86_64": CMake that the project does not need compatibility with older versions. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": -- The C compiler identification is Clang 22.0.0 Step #3 - "compile-afl-address-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #3 - "compile-afl-address-x86_64": -- Detecting C compiler ABI info Step #3 - "compile-afl-address-x86_64": -- Detecting C compiler ABI info - done Step #3 - "compile-afl-address-x86_64": -- Check for working C compiler: /src/aflplusplus/afl-clang-fast - skipped Step #3 - "compile-afl-address-x86_64": -- Detecting C compile features Step #3 - "compile-afl-address-x86_64": -- Detecting C compile features - done Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compiler ABI info Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compiler ABI info - done Step #3 - "compile-afl-address-x86_64": -- Check for working CXX compiler: /src/aflplusplus/afl-clang-fast++ - skipped Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compile features Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compile features - done Step #3 - "compile-afl-address-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #3 - "compile-afl-address-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #3 - "compile-afl-address-x86_64": -- Found Threads: TRUE Step #3 - "compile-afl-address-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #3 - "compile-afl-address-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #3 - "compile-afl-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #3 - "compile-afl-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #3 - "compile-afl-address-x86_64": CMake. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #3 - "compile-afl-address-x86_64": CMake that the project does not need compatibility with older versions. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": -- Configuring done (0.0s) Step #3 - "compile-afl-address-x86_64": -- Generating done (0.0s) Step #3 - "compile-afl-address-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #3 - "compile-afl-address-x86_64": [ 11%] Creating directories for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #3 - "compile-afl-address-x86_64": Cloning into 'googletest-src'... Step #3 - "compile-afl-address-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #3 - "compile-afl-address-x86_64": [ 33%] Performing update step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 44%] No patch step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 55%] No configure step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 66%] No build step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 77%] No install step for 'googletest' Step #3 - "compile-afl-address-x86_64": [ 88%] No test step for 'googletest' Step #3 - "compile-afl-address-x86_64": [100%] Completed 'googletest' Step #3 - "compile-afl-address-x86_64": [100%] Built target googletest Step #3 - "compile-afl-address-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #3 - "compile-afl-address-x86_64": -- Configuring done (3.2s) Step #3 - "compile-afl-address-x86_64": -- Generating done (0.4s) Step #3 - "compile-afl-address-x86_64": -- Build files have been written to: /src/brpc/build Step #3 - "compile-afl-address-x86_64": ++ nproc Step #3 - "compile-afl-address-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #3 - "compile-afl-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating echo.pb.h, echo.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating grpc.pb.h, grpc.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating health_check.pb.h, health_check.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/mongo.pb.h, brpc/policy/mongo.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating message.pb.h, message.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating repeated.pb.h, repeated.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.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/rtmp.pb.h, brpc/rtmp.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/span.pb.h, brpc/span.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #3 - "compile-afl-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #3 - "compile-afl-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #3 - "compile-afl-address-x86_64": [ 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/files/file_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.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": [ 40%] 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 CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.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/TEST_PROTO_LIB.dir/addressbook.pb.cc.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": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] 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/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/policy/public_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/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/streaming_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #3 - "compile-afl-address-x86_64": /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": 1 warning generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 45%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 45%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o 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/detail/percentile.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/bthread/rwlock.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/rwlock.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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/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": 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/semaphore.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | 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] S Step #3 - "compile-afl-address-x86_64": amp 289 | le t memp;ms Step #3 - "compile-afl-address-x86_64": | et( ^ Step #3 - "compile-afl-address-x86_64": this, /src/brpc/src/bvar/detail/sampler.h:98:9: 0, note: sizin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereeof Step #3 - "compile-afl-address-x86_64": ( 98 | *this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  tak/src/brpc/src/bvar/detail/sampler.he_sample:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here( Step #3 - "compile-afl-address-x86_64": 40 | Sampl); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: e() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 529 | 116 | _ s a mpler = new saSamplem ptlmepr;_ Step #3 - "compile-afl-address-x86_64": t y| pe ^( Step #3 - "compile-afl-address-x86_64": thi/src/brpc/src/bvar/detail/sampler.h:98:9: note: s); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 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 | /src/brpc/src/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] take_sample(); 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 | mems e289t | (  t h i s  , me0ms,e t(sitzheiosf,(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/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/timer_thread.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/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:/src/brpc/src/bvar/detail/percentile.h:132:13: warning: 16:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  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": 132 | 289 | DEFINE_SMALL_ARRAY(uint3 2_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | memset(char name##_stack_array[sizeof(Tp) * name##_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:49this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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/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": 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:7: )note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | c lass LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^{ Step #3 - "compile-afl-address-x86_64": } Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": | 132 |  ^ DEFINE Step #3 - "compile-afl-address-x86_64": _SMALL_ARRAY(u/src/brpc/src/bvar/detail/sampler.hi:n116t32_t:,23 :tmp, rhs ._nnote: um_samples, 64); Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::Sample>::Sample' requested here|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 116 | 426 | char Sampnamel##_stack_array[sizeof(Tp) * en tmp; Step #3 - "compile-afl-address-x86_64": | k_ ^a Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: rnote: 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": r ay98 | _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_si ze  Step #3 - "compile-afl-address-x86_64": t ake_sam| ^ 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": ple(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :153:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 153 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :149:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 149 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 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.hIn 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": :132:13 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 note: initializer of 'tmp_stack_array_size' is not a constant expression() Step #3 - "compile-afl-address-x86_64": : d 132 | a ta DEFINE()_SMALL_ARRAY(uint32_t, tmp, rhs._num_sam,ples, 64 ); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": time_ u426s | ch(ar0 na) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: me##_note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116st | ac k_ arrSamplep) tmp; Step #3 - "compile-afl-address-x86_64": *|  ^ Step #3 - "compile-afl-address-x86_64":  name##_s/src/brpc/src/bvar/detail/sampler.hta:98ck:9:_ array_note: sin 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": i 98 | ze ]; take_sampl e ( ) \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :176:1:; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.hnote: expanded from here 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": 176 | tmp_stac 529k | _array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h : 132:13:  _sampler = new sampler_type(thisnote: ); Step #3 - "compile-afl-address-x86_64": | declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: ^ Step #3 - "compile-afl-address-x86_64":  note: expanded from macro 'DEFINE_SMALL_ARRAY' 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 425 Step #3 - "compile-afl-address-x86_64": | cons289t |  u n sign e d me mnsaemt(thise##_stack_array_size = (, 0,n amsei#z#e_osfiz(e* :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/mutex.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | 2 warnings generated. Step #3 - "compile-afl-address-x86_64": memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] 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": 2/src/brpc/src/butil/macros.h:426:29:  warningnote: s generated. Step #3 - "compile-afl-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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 |  /src/brpc/src/bvar/detail/percentile.h:132:13: warning: b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ 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": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 53 | 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_st _avck_array[sizaeof(Tp) * rn-a>moep#(#_stack_array_siz)(e]; v\1, v2); 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:/src/brpc/src/bvar/detail/percentile.h29:12::364: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here36 Step #3 - "compile-afl-address-x86_64": : note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here 29 | Step #3 - "compile-afl-address-x86_64": 364 |  return op(v get_inte1r,v v2);al_at(i).mer Step #3 - "compile-afl-address-x86_64": ge (| *r ^ Step #3 - "compile-afl-address-x86_64": hs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' 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": |  168 ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here |  Step #3 - "compile-afl-address-x86_64": 168 | call_op_returnin g_void( op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16:  note:  call_op_in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herer Step #3 - "compile-afl-address-x86_64": e 116 | turninrg_void(op, tetmpurn ,append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _ d a t a _.sseecrond(ies.apip)e)n;d(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58 Step #3 - "compile-afl-address-x86_64": | :9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h 58:116:16: note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": SeriesSampler(WindowBase* o w116n | er, R* var)  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/window.h ret:ur132n:13 :a pwarning: 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_psamples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | chear name##_stack_array[sizeof(Tpn)d _:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": * second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | 151 | _series.append ( _ owner->get_value (  1  ) ) ;  Step #3 - "compile-afl-address-x86_64": _ s| er ^i Step #3 - "compile-afl-address-x86_64": e/src/brpc/src/bvar/window.hs_:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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##_st/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": ack 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": nasampler = ne_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_s/src/brpc/src/bvar/detail/percentile.htac:k499_:a12r:r ay_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #3 - "compile-afl-address-x86_64": mnote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here/src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.he#:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": #_ 499 | s 425 | cotnst unsigned name##_stack_array_siaze = (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": w S e riesSack_array_sizemple r(this, _v]a;r); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49 \ Step #3 - "compile-afl-address-x86_64": :7b1.merge(b2); 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 Step #3 - "compile-afl-address-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": 49/src/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": | /src/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": cl 53 | ass  _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^364 | get_interva Step #3 - "compile-afl-address-x86_64": L/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": l_at(i).merge(*rhs._intervals[i]) 29 | return op(v1, v2; 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": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: a 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": tnote: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": e n|  ^ 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 herec168 | call_op_returning_voidy Step #3 - "compile-afl-address-x86_64": 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:o note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herep, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ecorderB Step #3 - "compile-afl-address-x86_64": a/src/brpc/src/bvar/detail/series.hs:e116 :{16: note: 29 |  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.hin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herereturn o Step #3 - "compile-afl-address-x86_64": p(v1, v2); Step #3 - "compile-afl-address-x86_64": :132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": |  116 | ^ Step #3 - "compile-afl-address-x86_64":  132 | r e t u r n append_second(va DEFINE_SM/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": lu 168 | A LecL,all_op_ret_ _ouprn)i;ARRng_void(op, tmpA Step #3 - "compile-afl-address-x86_64": Y(uint3 , _data.second(i));|  ^2_t, t Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": mp, rhs._num_samples, 64);/src/brpc/src/bvar/window.h/src/brpc/src/bvar/detail/series.h:/src/brpc/src/bvar/detail/percentile.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": :65132:13 Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  | : /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": _ s426 | char name##_stack_array[sizeof(Tp) * name##116:16: note: warning: eries.a_sin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": tack_a 116 | return arprpaeynd_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); 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]p/src/brpc/src/bvar/window.h:p58e:n9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hered( Step #3 - "compile-afl-address-x86_64": _o 58 | _si Step #3 - "compile-afl-address-x86_64": ze]; 132 | SeriesSamwpneler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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":  DEFINE_SMALL_ ARRAY(r/src/brpc/src/butil/macros.h->:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": get_value( 1426 | ) ) ;  Step #3 - "compile-afl-address-x86_64":  c| ha ^r Step #3 - "compile-afl-address-x86_64":  name##_/src/brpc/src/bvar/window.hs:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": ui 58 | n t \ Step #3 - "compile-afl-address-x86_64": | t ^a Step #3 - "compile-afl-address-x86_64": ck_a rr ay[sizeof(Tp) * name##_stack_array_size];  :\1613:2_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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->ge SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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":  Step #3 - "compile-afl-address-x86_64": | 1: note: expanded from here Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64":  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": :164:1: note: 425 | const unsigned 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": expanded from here 157 | 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": 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": t_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64":  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: /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 | note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": c 132 | onst unsigned  name##_stack_array_size = D(name##_size <= (EFmaxsize) ? name##_INsize : 0); E_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :164:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 164 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": \ Step #3 - "compile-afl-address-x86_64": 599 | DEFIN| E_SMALL_ARRAY(int, nums, ngroup, 128); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64":  426 | char name## ^_ Step #3 - "compile-afl-address-x86_64": stack_array[:sizeof(T160: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": p) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :121:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 121 | nums_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :117:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 117 | nums_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/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/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: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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :197:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 197 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :193:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 193 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :160:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 160 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :156:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 156 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 377 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:379:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #3 - "compile-afl-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #3 - "compile-afl-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #3 - "compile-afl-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/health_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]; \3 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:364:36: [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #3 - "compile-afl-address-x86_64": 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/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": 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": /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": [ 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_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/prometheus_metrics_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_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": :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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/sorttable_js.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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": :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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o 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, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": 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/grpc_health_check_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #3 - "compile-afl-address-x86_64": /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/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": :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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #3 - "compile-afl-address-x86_64": /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 | 2 warnings generated. Step #3 - "compile-afl-address-x86_64": return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /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##_s/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": t a132c | k _ a r r a y [ DsEiFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64zeof(T); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | p ) char name##_stack_array[sizeof(Tp) * name##_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: nain instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereme Step #3 - "compile-afl-address-x86_64": ##_s t364a | c k _ a r get_interval_at(ir)a.merge(*rhs._iyntervals[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": s53i | z _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": e 65 | ]; \ 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 | t m p _ s t a_cske_rairers.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": | ay_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132: ^ Step #3 - "compile-afl-address-x86_64": 13:/src/brpc/src/bvar/window.h :58:note: 9:declared here  Step #3 - "compile-afl-address-x86_64": note: /src/brpc/src/butil/macros.hin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here:425 Step #3 - "compile-afl-address-x86_64": : 20: note: 58expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const uns2 warnings generated. 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:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": i151 | g n e d  name _series_sampler = new SeriesSampler(##_statchki_sa, _varrayr_)s;ize = (name Step #3 - "compile-afl-address-x86_64": # #| _s ^ize <= (maxsize) Step #3 - "compile-afl-address-x86_64": ? /src/brpc/src/bvar/latency_recorder.hn:a49m:7:e ##_snote: izin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heree Step #3 - "compile-afl-address-x86_64": : 0); \ Step #3 - "compile-afl-address-x86_64": 49| | c ^l Step #3 - "compile-afl-address-x86_64": as:s225 :L1a:t encnote: yRexpanded from hereec Step #3 - "compile-afl-address-x86_64": o rderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | 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":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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/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": 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": | [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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##_sIn file included from tack_array[sizeof(Tp) * name##_stack_array_si/src/brpc/src/brpc/builtin/memory_service.cppz:e20]: 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] Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 289 |  /src/brpc/src/bvar/detail/percentile.h memset(this, 0:, s364izeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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": :36: note: 98 |  take_samin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": ple(); 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": 364 | 529 | get_interval_at(i).merge(*rhs._ _sampler = new sampler_type(this)i; Step #3 - "compile-afl-address-x86_64": nt| e ^ Step #3 - "compile-afl-address-x86_64": rval/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": s 289 | memset(this, 0, sizeof(*this2 warnings generated. 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": [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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/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": [ 70%] 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/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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": /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": /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": :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": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": 12 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.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 [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #3 - "compile-afl-address-x86_64": name##_stack_array[sizeof(Tp) * name##_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)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/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/protobufs_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.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": [ 72%] 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 | SeriesSampIn 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": ler(Wi n289d | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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": owBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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/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/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/builtin/rpcz_service.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 72%] 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/details/http_message.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /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##_[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #3 - "compile-afl-address-x86_64": stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /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_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##_sta c k _ a\rr Step #3 - "compile-afl-address-x86_64": a y[sizeof(Tp) * name##_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":  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/src/brpc/src/bvar/detail/percentile.h: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": 364:/src/brpc/src/bvar/detail/call_op_returning_void.h:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 29:12: note:  364 | get_interval_atin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": ( 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": i).m e168r | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": ge 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": | (*r ^h Step #3 - "compile-afl-address-x86_64": s._intervals[i]/src/brpc/src/bvar/window.h):;65: Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 25/src/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": | note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here ^ Step #3 - "compile-afl-address-x86_64": 65 | Step #3 - "compile-afl-address-x86_64":   _s/src/brpc/src/bvar/window.he:53ries.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^: Step #3 - "compile-afl-address-x86_64": 17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here/src/brpc/src/bvar/window.h: Step #3 - "compile-afl-address-x86_64": 58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBa53 | s e_var->op()(v1* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here, v2); 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": Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); 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/call_op_returning_void.h:29:12:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": :  426 | cnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(vh1, va2r); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168: 13na: me#note: #in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here_s Step #3 - "compile-afl-address-x86_64": t 168ac | k _ ar r a y [caslli_opzeof(Tp) * name##_stack_arr_returning_voaiyd(_osip,z e]tm;p , _ da t \a. Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": second(i)); Step #3 - "compile-afl-address-x86_64": :160 | : ^ Step #3 - "compile-afl-address-x86_64": 1:/src/brpc/src/bvar/detail/series.h: note: expanded from here Step #3 - "compile-afl-address-x86_64": 116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here 160 | tmp_s Step #3 - "compile-afl-address-x86_64": tack 116 | _rearturn aprpenday_size_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65 Step #3 - "compile-afl-address-x86_64": :25 | : ^ 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": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": :58156 | : 1 :   note:  expanded from hereSe Step #3 - "compile-afl-address-x86_64": r iesS156am | ptlmep_rs(tWaicnkd_oawrBraasye_*s oiwzneer Step #3 - "compile-afl-address-x86_64": , | R^* Step #3 - "compile-afl-address-x86_64": var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/version_service.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 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];/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 \ 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":  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": :242: 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": 1:  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": note: /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64":  29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": expanded from here/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::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 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 242 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h: | t58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": mp_stack_a 58rray | _ SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": si/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": ze 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: 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": 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": 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": /src/brpc/src/bvar/detail/percentile.h 425 | const unsigned name##_stack_arr:ay_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": 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/cluster_recover_policy.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/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": In file included from /src/brpc/src/brpc/channel.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #3 - "compile-afl-address-x86_64": /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": /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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/health_check.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.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/partition_channel.cpp.o 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 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": 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": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": /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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": /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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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 | /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": _series_ 426 | char name##_ssatack_mplerar = nray[sizeof(Tp) * name##ew _Ssteacrki_easrSraamyp_lseirz(e]t;h i s  , _var); Step #3 - "compile-afl-address-x86_64": \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:/src/brpc/src/bvar/latency_recorder.h36:: 49:7note: : in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herenote: Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class Lat364e | n c y R e c o r d e r B a s e {ge Step #3 - "compile-afl-address-x86_64": t _| in ^t Step #3 - "compile-afl-address-x86_64": erval_at(i/src/brpc/src/bvar/detail/percentile.h):.132m:e13r:g e(*note: rhinitializer of 'tmp_stack_array_size' is not a constant expressions. Step #3 - "compile-afl-address-x86_64": _ intervals132 | [i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": DEFINE_/src/brpc/src/bvar/detail/percentile.hS:M499A:L12L:_ ARRnote: AYin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here(u Step #3 - "compile-afl-address-x86_64": i nt32_t, tm499p | , r h s . _ n ubm1_.smaemrgep(bl2e)s;, Step #3 - "compile-afl-address-x86_64":  |  ^ 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'/src/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": Step #3 - "compile-afl-address-x86_64": 53 | 426 | _ v arc-h>aorp( )n(avm1e,# #v_2s)t;ac Step #3 - "compile-afl-address-x86_64": k _| ar ^r Step #3 - "compile-afl-address-x86_64": ay[siz/src/brpc/src/bvar/detail/call_op_returning_void.heo:f29:(12T: p) * note: namin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heree# Step #3 - "compile-afl-address-x86_64": # _stac29k | _ a r r ayr_seitzuer]n; o p ( v 1\, Step #3 - "compile-afl-address-x86_64": v 2| ) ^; Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1/src/brpc/src/bvar/detail/series.h:: 168:13note: : expanded from here Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 190 | tmp_168s | t a c k _ a r r a y _ s iczaell_o Step #3 - "compile-afl-address-x86_64": p _| re^t Step #3 - "compile-afl-address-x86_64": urnin/src/brpc/src/bvar/detail/percentile.hg_void(op, t:132:13: note: mpdeclared here, Step #3 - "compile-afl-address-x86_64": _dat/src/brpc/src/butil/macros.ha:.425s:e20c:o ndnote: (iexpanded from macro 'DEFINE_SMALL_ARRAY')); Step #3 - "compile-afl-address-x86_64": 425 | c Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": o116n | s t   u n s igrneetdur nna maep#p#e_nsdt_ascekc_oanrdr(avya_lsuizee, =_ o(pn)a;me Step #3 - "compile-afl-address-x86_64": # #| _s ^ Step #3 - "compile-afl-address-x86_64": ize <= (m/src/brpc/src/bvar/window.ha:x65s:i25z:e ) ?note: nin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heream Step #3 - "compile-afl-address-x86_64": e ##_size 65: |  0  ) ; \  Step #3 - "compile-afl-address-x86_64": _|  ^s Step #3 - "compile-afl-address-x86_64": eries:.186a:p1p:e nd(note: _oexpanded from herewn Step #3 - "compile-afl-address-x86_64": er ->get_val186u | et(mp1_s)t)ac;k_ Step #3 - "compile-afl-address-x86_64": a r| ra ^y Step #3 - "compile-afl-address-x86_64": _size/src/brpc/src/bvar/window.h Step #3 - "compile-afl-address-x86_64": : 58| :9^: Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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/ssl_helper.cpp:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": 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##_st2 warnings generated. Step #3 - "compile-afl-address-x86_64": ack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :137:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 137 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :133:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 133 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /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:/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": 17/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_siz e]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36:53 | note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interv a l _ at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge ( b 2 ) ; _ Step #3 - "compile-afl-address-x86_64": v a| r- ^> Step #3 - "compile-afl-address-x86_64": op()(v1,/src/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": v2)/src/brpc/src/bvar/detail/call_op_returning_void.h:;29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": | 29 | return op(v1, v2); ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: /src/brpc/src/bvar/detail/call_op_returning_void.hin 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 #3 - "compile-afl-address-x86_64": : 16812 | :  call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": return/src/brpc/src/bvar/window.h: 58o:p9(v:1 , v2note: );in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  58/src/brpc/src/bvar/detail/series.h | : 168 : 13 :  note:  in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here  Step #3 - "compile-afl-address-x86_64": 168 | call_opSeriesSampler(WindowBase*_ orwenteurr,n iRn*g _vvaor) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": id(op, tmp,/src/brpc/src/bvar/window.h _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | /src/brpc/src/bvar/detail/series.h:116:16:  note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #3 - "compile-afl-address-x86_64": _seri116e | s _ sa m p l e r re=t urnnew a pSeriesSapend_mspelcoenrd((vtahliuse,, _o_pv)a;r) Step #3 - "compile-afl-address-x86_64": ; |  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:/src/brpc/src/bvar/latency_recorder.h25:: 49:7note: : in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herenote: Step #3 - "compile-afl-address-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 6549 | |  c l a s s  L a t e nc y R_esceorrideesr.Baapspee n{d(_ Step #3 - "compile-afl-address-x86_64": o w| n ^e Step #3 - "compile-afl-address-x86_64": r->get_val/src/brpc/src/bvar/detail/percentile.hu:e132(:131: ));note:  Step #3 - "compile-afl-address-x86_64": initializer of 'tmp_stack_array_size' is not a constant expression | Step #3 - "compile-afl-address-x86_64":  132 | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here  Step #3 - "compile-afl-address-x86_64": DEFI58N | E _ SM A L L _ A RSReAriYe(suSiantm3pl2e_rt(,W itnmdpo,w Brahsse.*_ onwunme_rs,a mRp*l evsa,r )6 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/bvar/window.h:151:35:/src/brpc/src/butil/macros.h :426:42note: : in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": note: 151 | expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char _series_sampler = new SeriesSampler(this, _v name##_stack_arraar); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": y[sizeof/src/brpc/src/bvar/latency_recorder.h(:T49p:)7 :* nanote: mein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here## Step #3 - "compile-afl-address-x86_64": _ stack_49a | rrcalya_sssize ]L;a t e n c y\Re Step #3 - "compile-afl-address-x86_64": c o| rd ^erBa Step #3 - "compile-afl-address-x86_64": se { Step #3 - "compile-afl-address-x86_64": :| 161: ^1 Step #3 - "compile-afl-address-x86_64": : note: expanded from here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h 161 | tmp_stac:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFIk_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": NE_/src/brpc/src/bvar/detail/percentile.hS:M132A:L13L:_ ARRnote: Adeclared hereY( Step #3 - "compile-afl-address-x86_64": uint/src/brpc/src/butil/macros.h3:2425_:t20,: tmpnote: , expanded from macro 'DEFINE_SMALL_ARRAY'rh Step #3 - "compile-afl-address-x86_64": 425 | cons._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": s/src/brpc/src/butil/macros.ht:426: 42:u nsinote: gnexpanded from macro 'DEFINE_SMALL_ARRAY'ed Step #3 - "compile-afl-address-x86_64":  name##426_ | s t a c k_cahrarray _nsaimzee# #=_ s(tnaacmke_#a#r_rsaiy[zsei z Step #3 - "compile-afl-address-x86_64": : 157| :1: note:  ^expanded from here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64":  :170:157 | 1t:m p_note: stexpanded from hereack Step #3 - "compile-afl-address-x86_64": _array_s170i | ztemp Step #3 - "compile-afl-address-x86_64": _ s| ta^c Step #3 - "compile-afl-address-x86_64": k_array_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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 81%] 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/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(), t/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": i/src/brpc/src/butil/macros.hm:e426_:u29s:( 0note: ) expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 426 |  c116h | a r  n a m e # # _ s tSaacmkp_laery [tmspi;ze Step #3 - "compile-afl-address-x86_64": o f| ( ^T Step #3 - "compile-afl-address-x86_64": p) * n/src/brpc/src/bvar/detail/sampler.ha:m98e:#9#:_ stanote: ckin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here_a Step #3 - "compile-afl-address-x86_64": rray_size]; \98 | Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  take_samp/src/brpc/src/bvar/detail/percentile.hl:e364(:)36;: Step #3 - "compile-afl-address-x86_64":  | 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": /src/brpc/src/bvar/detail/percentile.h:529:28:  note: 364 | 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": get_interval_at(i).m e529r | g e ( * r h s .__sianmtpelrevra l=s [in]e)w; Step #3 - "compile-afl-address-x86_64": s a| mp ^l Step #3 - "compile-afl-address-x86_64": er_ty/src/brpc/src/bvar/detail/percentile.hp:e499(:12t:h isnote: );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":  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": /src/brpc/src/bvar/detail/percentile.h: 28953: | 16 :   note:  explicitly cast the pointer to silence this warning  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": 289 |  /src/brpc/src/bvar/detail/call_op_returning_void.h : 29m:e12m:s et(note: tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herehi Step #3 - "compile-afl-address-x86_64": s,  029 | ,  s izreeotfur(n* tohpi(sv1),) ;v2 Step #3 - "compile-afl-address-x86_64": ) ;|  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": |  ^| Step #3 - "compile-afl-address-x86_64":  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:us( warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64":  0289 | 2 warning s generated) {} Step #3 - "compile-afl-address-x86_64": mems| . Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": et(this,/src/brpc/src/bvar/detail/sampler.h 0, :116:23s:i zeof(*note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested herethis)); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h 116:40:16:  | note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": S 40 | Samplameple tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h(): 98::9: note: din instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereat Step #3 - "compile-afl-address-x86_64": a (98) | , t i m e _ u st(ak0e_)s a{m}pl Step #3 - "compile-afl-address-x86_64": e (| ); ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23/src/brpc/src/bvar/detail/percentile.h:: 529:28note: : in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample t m529p | ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  _sampl/src/brpc/src/bvar/detail/sampler.he:r98 :=9 : newnote:  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": mpler_type(thi s98 | ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: /src/brpc/src/bvar/detail/percentile.h:note: 289:in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here16: Step #3 - "compile-afl-address-x86_64": note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 529 | _sampler =289 |  n e w  s a mmpelmesre_tt(ypteh(isth,i s0);, Step #3 - "compile-afl-address-x86_64": | s ^i Step #3 - "compile-afl-address-x86_64": zeof(*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: 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/gzip_compress.cpp.o Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.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/http2_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": | /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":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h132 | DEFINE_SMALL_A:58RR:A9: note: Yin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here( Step #3 - "compile-afl-address-x86_64": uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | cha 58 | r name## _s taSerck_arriay[siezeosSampler(WifndowBas(Tp) * name#e* owner, #_stR* vara) Step #3 - "compile-afl-address-x86_64": c |  ^ Step #3 - "compile-afl-address-x86_64": k_arra/src/brpc/src/bvar/window.hy_size]; : 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": 151 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": _serie/src/brpc/src/bvar/detail/percentile.h:364s:36: _sanote: min instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | pl e r get_ inte=r valnew Seri_ates(iS).amerge(*rhmspler._intervals[i]);(t Step #3 - "compile-afl-address-x86_64": hi s, | _var); 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:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here/src/brpc/src/bvar/latency_recorder.h:49:7 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:17note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49: | c lasnote: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": s 53 | La _var-t>encyReocpo()(v1, v2rderBase) ;{ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h :29:12: 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": )/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": ; Step #3 - "compile-afl-address-x86_64": 168 | |  ^ Step #3 - "compile-afl-address-x86_64":  call_op_returning_void(op, tmp, _data.second(i))/src/brpc/src/butil/macros.h; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :426:42:/src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1) 426 | ) ; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": c58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var);har name##_ Step #3 - "compile-afl-address-x86_64": |  ^stack_array[ Step #3 - "compile-afl-address-x86_64": s/src/brpc/src/bvar/latency_recorder.hi:49:7zeof: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here(Tp) * name##_stack_array_size];  \ Step #3 - "compile-afl-address-x86_64": | Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": :161:1 49 | : cnote: expanded from herelass Step #3 - "compile-afl-address-x86_64":  La 161 | ttencyRecmp_stordeack_array_srBase 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 ^:20: Step #3 - "compile-afl-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stac/src/brpc/src/bvar/detail/percentile.hk_ar:ray_132siz:e = 13(nam:e##_siz e <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: note: initializer of 'tmp_stack_array_size' is not a constant expressionexpanded 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": 132 | DEFINE_SMALL_ARRAY(ui^ Step #3 - "compile-afl-address-x86_64": nt32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, aps, nchan, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :55:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 55 | aps_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :51:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 51 | aps_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": 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/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": /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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/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": In file included from /src/brpc/src/brpc/policy/domain_naming_service.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :141:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 141 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsiIn 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:25z: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.he:26: Step #3 - "compile-afl-address-x86_64": )In file included from /src/brpc/src/bthread/bthread.h :? 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": 32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file 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: 2note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": warning s58 | SeriesSampler(WindowBase* owner, R* v generated. Step #3 - "compile-afl-address-x86_64": ar) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /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_sIn 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.hiz:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from e]; \ 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._int/src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file 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": ervals[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 289 | Step #3 - "compile-afl-address-x86_64": memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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":  499 | /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": b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ 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": 289 | 53 | memset(this, 0 , sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) 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:2 warnings generated. Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: /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": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-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 | 116 | return appendc_second(value, _har name#op)#;_ Step #3 - "compile-afl-address-x86_64": | st ^ Step #3 - "compile-afl-address-x86_64": a/src/brpc/src/bvar/window.h:65:25: cknote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": _array[ 65 | sizeof(T _pse)ries. * name##_satack_paperrnd(_oway_size]; \ Step #3 - "compile-afl-address-x86_64": | n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": er-/src/brpc/src/bvar/detail/percentile.h:364:36:>get_v alue(note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 1)) 364 | ;  Step #3 - "compile-afl-address-x86_64": |  ^ get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h: ^ Step #3 - "compile-afl-address-x86_64": 58/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.m:erge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 9:/src/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 | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | S e r i_evsaSra-m>polpe(r)((WvindowBas1,e* own v2e)r;, Step #3 - "compile-afl-address-x86_64": R *| v ^a Step #3 - "compile-afl-address-x86_64": r) Step #3 - "compile-afl-address-x86_64": |  ^/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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":  note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": ]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :217:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 217 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :213:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 213 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :203:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 203 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :199:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 199 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /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": :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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #3 - "compile-afl-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": /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": 132425 | |  c o n s DEFINE_SMALL_t unsigARRAY(uint32_t, tmp, rhs._num_samples, 64ned name##_stack_array_size = (n); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": ame#/src/brpc/src/butil/macros.h#_:si426z:e <= (29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": maxsize) ? nam426 | e # # _cshiazre : 0); \ name##_stack_array[sizeo Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": f:(219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": Tp) * name##_st219a | ctkm_pa_rsrtack_ay_asrirzaey]_;s i z e \ Step #3 - "compile-afl-address-x86_64": | Step #3 - "compile-afl-address-x86_64":  ^| Step #3 - "compile-afl-address-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/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": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:30: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeIn 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:289of(*th:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": is)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: 289in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here |  Step #3 - "compile-afl-address-x86_64": mem s40et( | t h i s S,a mple() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 0, sizeof 116 | (*this )); Step #3 - "compile-afl-address-x86_64": |  Sample tm ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herep; Step #3 - "compile-afl-address-x86_64": | Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64":  40 | Sample() : data(), time_us(/src/brpc/src/bvar/detail/sampler.h:098: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": {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h :98 | 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": tak e116 | Sam_pslae tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": m/src/brpc/src/bvar/detail/sampler.h:98:ple();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 | 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 | _samp 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: lin 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 | er =  n e w  _samplserampler_t = neype(thisw); Step #3 - "compile-afl-address-x86_64": |  ^ 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/bvar/detail/percentile.h:289:16/src/brpc/src/bvar/detail/percentile.h: :note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0289:, sizeo16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(fthis, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  (*this| )); 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_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": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :195:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 195 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :191:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 191 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 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/streaming_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": 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 tmp2 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/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/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 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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/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": 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": 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": | 2 warnings generated. 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.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": 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": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: _sampler = new sampler_variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": type 132 | DEFINE_SMALL_ARRAY(uint(this)3; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 2_t, tmp, rhs._num_samples, 64); 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:29: 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": 426 | char name 289## | _ s t memset(thias, 0, sizeof(*ck_arratyhis[sizeof(T)p) * name##_stack_ar);r Step #3 - "compile-afl-address-x86_64": ay_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":  |  (void*) Step #3 - "compile-afl-address-x86_64":  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": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #3 - "compile-afl-address-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #3 - "compile-afl-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #3 - "compile-afl-address-x86_64": 582 | SerializeHuluHeaderAndMeta(&res_buf, request_meta, 0); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #3 - "compile-afl-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/nova_pbrpc_protocol.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 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/hulu_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /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/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 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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": :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": In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expressionIn 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 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": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file 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": 132/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": | 40 | Sample() : d ata(), time_us(  0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h : 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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": DE 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": FI/src/brpc/src/bvar/detail/percentile.hN:E529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here_S Step #3 - "compile-afl-address-x86_64": MALL_ARRAY(ui 529 | _sampler = new sampler_type(thisnt)3; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 2_t, tmp, rhs._nu/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": m_sa 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": mples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 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]65 | Step #3 - "compile-afl-address-x86_64": _series.append (289_ | o w n e r - > g ememset(thist,_ va0l, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: unote: ein instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": (1)) ;40 | Step #3 - "compile-afl-address-x86_64": |  ^S Step #3 - "compile-afl-address-x86_64": ample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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": :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/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": 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": 529/src/brpc/src/bvar/detail/percentile.h | :289:16 : warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]_sampler = new sampler_ Step #3 - "compile-afl-address-x86_64": type(this 289 |  memse); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": t(this, 0, si/src/brpc/src/bvar/detail/percentile.hzeof(*th:289:16: inote: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": s 289 | )); Step #3 - "compile-afl-address-x86_64": memset(this, 0 | , sizeof(*th ^ Step #3 - "compile-afl-address-x86_64": is/src/brpc/src/bvar/detail/sampler.h:40:16)); Step #3 - "compile-afl-address-x86_64": : note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-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": :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": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": :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/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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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[ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #3 - "compile-afl-address-x86_64":  unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #3 - "compile-afl-address-x86_64": /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/brpc/policy/rtmp_protocol.cpp:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1570 | char buf[header_len]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #3 - "compile-afl-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_2 warnings generated. Step #3 - "compile-afl-address-x86_64": 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/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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #3 - "compile-afl-address-x86_64": /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.hIn file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": :151:35: 289 | note: memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64":  40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here9: 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 | tak Step #3 - "compile-afl-address-x86_64": 151 | _series_esa_mspalmple(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": er /src/brpc/src/bvar/detail/percentile.h:529= new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #3 - "compile-afl-address-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :188:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 188 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :184:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 184 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #3 - "compile-afl-address-x86_64": 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/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/rtmp.cpp.o Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/serialized_request.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 | _s2 warnings generated. Step #3 - "compile-afl-address-x86_64": ampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/serialized_response.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/server.cpp.o Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/ubrpc2pb_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #3 - "compile-afl-address-x86_64": 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": /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": /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][ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o 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: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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value,/src/brpc/src/bvar/detail/percentile.h: _op132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": ); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: 132note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here |  Step #3 - "compile-afl-address-x86_64": 65 | DEFIN E _ SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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.mer _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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 | DgEFeI(NbE2); Step #3 - "compile-afl-address-x86_64": |  ^ 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 | _SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": _va/src/brpc/src/butil/macros.hr:-426>:o42p:()(v1, note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | cv2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": har29 | name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ 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 | 223 :c1a:l l_op_renote: texpanded from hereur Step #3 - "compile-afl-address-x86_64": ning_void(o223p | ,t mtpm_ps,t a_cdka_taar.rsaey_csoize Step #3 - "compile-afl-address-x86_64": | nd(i))^; Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64":  |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _serie/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)s.appe;n d\(_owner->get_value( Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:11));: note: 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 | tmp_st/src/brpc/src/bvar/window.h:58:9: acknote: _ain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hererr Step #3 - "compile-afl-address-x86_64": a y_size Step #3 - "compile-afl-address-x86_64": | 58^ | 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:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = ne/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 | cw SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase {h Step #3 - "compile-afl-address-x86_64": a r|  ^n Step #3 - "compile-afl-address-x86_64": ame##_st/src/brpc/src/bvar/detail/percentile.ha:c132k:_13a:r note: initializer of 'tmp_stack_array_size' is not a constant expressionray[ Step #3 - "compile-afl-address-x86_64":  sizeof(132T | p ) * na m e # # _ s tDaEck_arraFINE_yS_MsAiLzLe_]A;R R A Y ( u i\nt Step #3 - "compile-afl-address-x86_64": 32 _| t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, Step #3 - "compile-afl-address-x86_64": tmp, rh/src/brpc/src/bvar/detail/percentile.h:s364.:_36n:u m_snote: amin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herepl Step #3 - "compile-afl-address-x86_64": e s, 364 | 6 4  ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/butil/macros.h :g426e:t42_:i ntenote: rvexpanded from macro 'DEFINE_SMALL_ARRAY'al_at(i Step #3 - "compile-afl-address-x86_64": ).merge(*rhs._intervals426[i | ] ) ;  Step #3 - "compile-afl-address-x86_64":  c| ha ^r Step #3 - "compile-afl-address-x86_64":  nam/src/brpc/src/bvar/detail/percentile.he:#499#:_12s:t acknote: _ain instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hererr Step #3 - "compile-afl-address-x86_64": a y[sizeof(Tp) 499* | n a m e # #_ sbt1a.cmke_ragrer(aby_si2z)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/window.h :| 53: ^17 Step #3 - "compile-afl-address-x86_64": : note: :in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here219: Step #3 - "compile-afl-address-x86_64": 1 : note: 53expanded from here |  Step #3 - "compile-afl-address-x86_64": 219 | t m p__vsatra-c>ko_pa(r)r(avy1_,s ivz2e); Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | | ^ Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132/src/brpc/src/bvar/detail/call_op_returning_void.h::1329:: 12: note: declared herenote:  Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h :425:20:29 |  note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": r eturn op(v1, v2); Step #3 - "compile-afl-address-x86_64": 425| |  ^ Step #3 - "compile-afl-address-x86_64": const/src/brpc/src/bvar/detail/series.h: 168:u13n:s ignnote: edin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": n ame##_stac168k | _ a r r a y _ s i z e =c a(lnla_moep#_#r_estiuzren i:215/src/brpc/src/bvar/detail/series.h::1116:: 16: note: expanded from herenote:  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": 116 | 215 | t m p _ s tarcekt_uarrnra ya_pspiezned_ Step #3 - "compile-afl-address-x86_64": s e| co^n Step #3 - "compile-afl-address-x86_64": d(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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": :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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] 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": 2 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": 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": 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/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/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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": :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": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :14:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 14 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :10:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 10 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/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": 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": :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": 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": In file included from /src/brpc/src/brpc/span.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :84:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 84 | rbsp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :80:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 80 | rbsp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tm/src/brpc/src/bvar/detail/percentile.hp:,132 :r13h:s ._nwarning: um_variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]sa Step #3 - "compile-afl-address-x86_64": mples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h :132426 | : 42 :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._n u426m | _ s a m plcehsa,r  6n4am)e;## Step #3 - "compile-afl-address-x86_64": _ s| ta ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c Step #3 - "compile-afl-address-x86_64": k_array/src/brpc/src/butil/macros.h[:426s:i29z:e ofnote: (Texpanded from macro 'DEFINE_SMALL_ARRAY'p) 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":  426: | 166 : 1 : chnote: arexpanded from here Step #3 - "compile-afl-address-x86_64": name##_stac k166_ | atrmrpa_ys[tascikz_eaorfra(yT_ps)i z*e n Step #3 - "compile-afl-address-x86_64": a m| e^# Step #3 - "compile-afl-address-x86_64": #_stac/src/brpc/src/bvar/detail/percentile.hk:_132a:r13r:a y_snote: izdeclared heree] Step #3 - "compile-afl-address-x86_64": ;  /src/brpc/src/butil/macros.h : 425 : 20\: Step #3 - "compile-afl-address-x86_64":  | note:  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/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 | 425 |  c o n gsett_ inutnesrivganle_dat (nia)m.em#e#r_gset(a*crkh_sa.r_rianyt_esrivzael s=[ i(]n)a;me Step #3 - "compile-afl-address-x86_64": # #| _s ^i Step #3 - "compile-afl-address-x86_64": ze <=/src/brpc/src/bvar/detail/percentile.h :(499m:a12x:s izenote: ) in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here? Step #3 - "compile-afl-address-x86_64": name##_size 499: |  0  ) ; \ b Step #3 - "compile-afl-address-x86_64": 1 .| me ^r Step #3 - "compile-afl-address-x86_64": ge(b:2162):;1: Step #3 - "compile-afl-address-x86_64": | note: ^ Step #3 - "compile-afl-address-x86_64": expanded from here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17:  note: 162 | tin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested heremp Step #3 - "compile-afl-address-x86_64": _stack_arr a53y | _ s i z e  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSam2p warninglse generatedr. Step #3 - "compile-afl-address-x86_64": (WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 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": 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": /src/brpc/src/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :53:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 53 | buf_list_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :49:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 49 | buf_list_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/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.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/stream.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 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": /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/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 2003 | char buf[fullname_len]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #3 - "compile-afl-address-x86_64": 2000 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /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": :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": :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": :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/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": :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": 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": 7 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #3 - "compile-afl-address-x86_64": [ 97%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_butil Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_hpack Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_json Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_json Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_redis Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": ef3c76f7df30: Already exists Step #4 - "build-check-afl-address-x86_64": 9f8f643d8006: Already exists Step #4 - "build-check-afl-address-x86_64": 0f48af65b814: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 633a0e05339d: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 3177fed33998: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2e478429a198: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 4f862654912a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 4d5ecc5a85a3: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 861dbe526d45: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": f0d22c3bd001: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c7365ba546a7: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 81305a35774f: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 084b00e4fd2a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2571f26ef59d: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": f3ad3c26378e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 23630c9e3597: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 686f4cb8643a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": e9cb1af2d3fd: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 485022339309: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": bacda3c2d798: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c57fafada48f: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 68403e1b2d67: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6456ed930b42: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c1d227e471d8: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c4fc3ca540a9: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": d64a40b43ad5: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": f0d22c3bd001: Waiting Step #4 - "build-check-afl-address-x86_64": c7365ba546a7: Waiting Step #4 - "build-check-afl-address-x86_64": 81305a35774f: Waiting Step #4 - "build-check-afl-address-x86_64": 084b00e4fd2a: Waiting Step #4 - "build-check-afl-address-x86_64": 23630c9e3597: Waiting Step #4 - "build-check-afl-address-x86_64": bacda3c2d798: Waiting Step #4 - "build-check-afl-address-x86_64": c57fafada48f: Waiting Step #4 - "build-check-afl-address-x86_64": 686f4cb8643a: Waiting Step #4 - "build-check-afl-address-x86_64": 861dbe526d45: Waiting Step #4 - "build-check-afl-address-x86_64": e9cb1af2d3fd: Waiting Step #4 - "build-check-afl-address-x86_64": 68403e1b2d67: Waiting Step #4 - "build-check-afl-address-x86_64": 6456ed930b42: Waiting Step #4 - "build-check-afl-address-x86_64": f3ad3c26378e: Waiting Step #4 - "build-check-afl-address-x86_64": 485022339309: Waiting Step #4 - "build-check-afl-address-x86_64": c1d227e471d8: Waiting Step #4 - "build-check-afl-address-x86_64": d64a40b43ad5: Waiting Step #4 - "build-check-afl-address-x86_64": c4fc3ca540a9: Waiting Step #4 - "build-check-afl-address-x86_64": 2571f26ef59d: Waiting Step #4 - "build-check-afl-address-x86_64": 4f862654912a: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 4f862654912a: Download complete Step #4 - "build-check-afl-address-x86_64": 3177fed33998: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 3177fed33998: Download complete Step #4 - "build-check-afl-address-x86_64": 0f48af65b814: Download complete Step #4 - "build-check-afl-address-x86_64": 633a0e05339d: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 633a0e05339d: Download complete Step #4 - "build-check-afl-address-x86_64": 2e478429a198: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2e478429a198: Download complete Step #4 - "build-check-afl-address-x86_64": f0d22c3bd001: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": f0d22c3bd001: Download complete Step #4 - "build-check-afl-address-x86_64": 861dbe526d45: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 861dbe526d45: Download complete Step #4 - "build-check-afl-address-x86_64": 2571f26ef59d: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2571f26ef59d: Download complete Step #4 - "build-check-afl-address-x86_64": c7365ba546a7: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c7365ba546a7: Download complete Step #4 - "build-check-afl-address-x86_64": 0f48af65b814: Pull complete Step #4 - "build-check-afl-address-x86_64": f3ad3c26378e: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": f3ad3c26378e: Download complete Step #4 - "build-check-afl-address-x86_64": 084b00e4fd2a: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 084b00e4fd2a: Download complete Step #4 - "build-check-afl-address-x86_64": 686f4cb8643a: Download complete Step #4 - "build-check-afl-address-x86_64": 4d5ecc5a85a3: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 4d5ecc5a85a3: Download complete Step #4 - "build-check-afl-address-x86_64": 633a0e05339d: Pull complete Step #4 - "build-check-afl-address-x86_64": 485022339309: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 485022339309: Download complete Step #4 - "build-check-afl-address-x86_64": bacda3c2d798: Download complete Step #4 - "build-check-afl-address-x86_64": 3177fed33998: Pull complete Step #4 - "build-check-afl-address-x86_64": 6456ed930b42: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6456ed930b42: Download complete Step #4 - "build-check-afl-address-x86_64": 81305a35774f: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 81305a35774f: Download complete Step #4 - "build-check-afl-address-x86_64": 68403e1b2d67: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 68403e1b2d67: Download complete Step #4 - "build-check-afl-address-x86_64": 2e478429a198: Pull complete Step #4 - "build-check-afl-address-x86_64": c4fc3ca540a9: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c4fc3ca540a9: Download complete Step #4 - "build-check-afl-address-x86_64": d64a40b43ad5: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": d64a40b43ad5: Download complete Step #4 - "build-check-afl-address-x86_64": 4f862654912a: Pull complete Step #4 - "build-check-afl-address-x86_64": c1d227e471d8: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c1d227e471d8: Download complete Step #4 - "build-check-afl-address-x86_64": c57fafada48f: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c57fafada48f: Download complete Step #4 - "build-check-afl-address-x86_64": 23630c9e3597: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 23630c9e3597: Download complete Step #4 - "build-check-afl-address-x86_64": e9cb1af2d3fd: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": e9cb1af2d3fd: Download complete Step #4 - "build-check-afl-address-x86_64": 4d5ecc5a85a3: Pull complete Step #4 - "build-check-afl-address-x86_64": 861dbe526d45: Pull complete Step #4 - "build-check-afl-address-x86_64": f0d22c3bd001: Pull complete Step #4 - "build-check-afl-address-x86_64": c7365ba546a7: Pull complete Step #4 - "build-check-afl-address-x86_64": 81305a35774f: Pull complete Step #4 - "build-check-afl-address-x86_64": 084b00e4fd2a: Pull complete Step #4 - "build-check-afl-address-x86_64": 2571f26ef59d: Pull complete Step #4 - "build-check-afl-address-x86_64": f3ad3c26378e: Pull complete Step #4 - "build-check-afl-address-x86_64": 23630c9e3597: Pull complete Step #4 - "build-check-afl-address-x86_64": 686f4cb8643a: Pull complete Step #4 - "build-check-afl-address-x86_64": e9cb1af2d3fd: Pull complete Step #4 - "build-check-afl-address-x86_64": 485022339309: Pull complete Step #4 - "build-check-afl-address-x86_64": bacda3c2d798: Pull complete Step #4 - "build-check-afl-address-x86_64": c57fafada48f: Pull complete Step #4 - "build-check-afl-address-x86_64": 68403e1b2d67: Pull complete Step #4 - "build-check-afl-address-x86_64": 6456ed930b42: Pull complete Step #4 - "build-check-afl-address-x86_64": c1d227e471d8: Pull complete Step #4 - "build-check-afl-address-x86_64": c4fc3ca540a9: Pull complete Step #4 - "build-check-afl-address-x86_64": d64a40b43ad5: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:fca20b650077b304d8fda564b4e8e271b7605c6c867f322be5273900ded9d1b8 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/tmps0tj0zz2/fuzz_json Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_shead Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_butil Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_esp Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_redis Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_hpack Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_http Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_hulu Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/fuzz_uri Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmps0tj0zz2/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: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 722 --:--:-- --:--:-- --:--:-- 720 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 29 206M 0 0 29 61.6M 0 186M 0:00:01 --:--:-- 0:00:01 186M 100 206M 0 0 100 206M 0 169M 0:00:01 0:00:01 --:--:-- 169M 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 411 --:--:-- --:--:-- --:--:-- 412 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 140 --:--:-- --:--:-- --:--:-- 141 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/brpc Finished Step #11 Starting Step #12 - "compile-honggfuzz-address-x86_64" Step #12 - "compile-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-honggfuzz-address-x86_64": Skipping compilation; using precompiled honggfuzz Step #12 - "compile-honggfuzz-address-x86_64": done. Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": CC=clang Step #12 - "compile-honggfuzz-address-x86_64": CXX=clang++ Step #12 - "compile-honggfuzz-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp Step #12 - "compile-honggfuzz-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ Step #12 - "compile-honggfuzz-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": + '[' address = undefined ']' Step #12 - "compile-honggfuzz-address-x86_64": + mkdir -p build Step #12 - "compile-honggfuzz-address-x86_64": + cd build Step #12 - "compile-honggfuzz-address-x86_64": + cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp' -DLIB_FUZZING_ENGINE=/usr/lib/libFuzzingEngine.a -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #12 - "compile-honggfuzz-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #12 - "compile-honggfuzz-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #12 - "compile-honggfuzz-address-x86_64": CMake. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #12 - "compile-honggfuzz-address-x86_64": CMake that the project does not need compatibility with older versions. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": -- The C compiler identification is Clang 22.0.0 Step #12 - "compile-honggfuzz-address-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compiler ABI info Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compiler ABI info - done Step #12 - "compile-honggfuzz-address-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compile features Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting C compile features - done Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compiler ABI info Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compiler ABI info - done Step #12 - "compile-honggfuzz-address-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compile features Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compile features - done Step #12 - "compile-honggfuzz-address-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #12 - "compile-honggfuzz-address-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #12 - "compile-honggfuzz-address-x86_64": -- Found Threads: TRUE Step #12 - "compile-honggfuzz-address-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #12 - "compile-honggfuzz-address-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #12 - "compile-honggfuzz-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #12 - "compile-honggfuzz-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #12 - "compile-honggfuzz-address-x86_64": CMake. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #12 - "compile-honggfuzz-address-x86_64": CMake that the project does not need compatibility with older versions. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": -- Configuring done (0.0s) Step #12 - "compile-honggfuzz-address-x86_64": -- Generating done (0.0s) Step #12 - "compile-honggfuzz-address-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #12 - "compile-honggfuzz-address-x86_64": [ 11%] Creating directories for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": Cloning into 'googletest-src'... Step #12 - "compile-honggfuzz-address-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #12 - "compile-honggfuzz-address-x86_64": [ 33%] Performing update step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 44%] No patch step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 55%] No configure step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 66%] No build step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 77%] No install step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [ 88%] No test step for 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [100%] Completed 'googletest' Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target googletest Step #12 - "compile-honggfuzz-address-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #12 - "compile-honggfuzz-address-x86_64": -- Configuring done (3.2s) Step #12 - "compile-honggfuzz-address-x86_64": -- Generating done (0.4s) 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 brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating 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/get_favicon.pb.h, brpc/get_favicon.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 addressbook1.pb.h, addressbook1.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.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 brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.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/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.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 health_check.pb.h, health_check.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 iobuf.pb.h, iobuf.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 message.pb.h, message.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.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 snappy_message.pb.h, snappy_message.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 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": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] 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": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 32%] 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 test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 35%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] 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": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 37%] 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": [ 40%] 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": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.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": /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": [ 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/public_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": 1 warning generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/butex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :134:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 134 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :130:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 130 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 359 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 701 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: note: in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 717 | return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(), Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:89:22: note: in instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 89 | : _combiner(std::make_shared()), _sampler(NULL) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/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: In file included from /src/brpc/src/bthread/semaphore.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | /src/brpc/src/bthread/bthread.h: memset(this, 0,32 : Step #12 - "compile-honggfuzz-address-x86_64": sIn file included from /src/brpc/src/bthread/mutex.hi:27z: Step #12 - "compile-honggfuzz-address-x86_64": eIn file included from o/src/brpc/src/bvar/utils/lock_timer.hf:28(: Step #12 - "compile-honggfuzz-address-x86_64": *In file included from /src/brpc/src/bvar/latency_recorder.ht:h26i: Step #12 - "compile-honggfuzz-address-x86_64": s)/src/brpc/src/bvar/detail/percentile.h):; Step #12 - "compile-honggfuzz-address-x86_64": 289 :| 16: ^ Step #12 - "compile-honggfuzz-address-x86_64":  warning: |  (void*)first argument in 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": In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26In file included from /src/brpc/src/bthread/rwlock.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/rwlock.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": : Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h 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(), ti289:m16e:_ us(0) {}warning: Step #12 - "compile-honggfuzz-address-x86_64":  | first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 289116 | | memset(this,  0  ,  s i z e oSfam(p*let| t ^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 | Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16:  tnote: akin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heree_ Step #12 - "compile-honggfuzz-address-x86_64": sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  40 | Sample() : data(), tim/src/brpc/src/bvar/detail/percentile.he:_529u:s28(: 0)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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 529 | | _sampler = new sSaampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": mple tm/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": p; 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":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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":  289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/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 instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": /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": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h 53: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": _var->op() 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": (v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  132 | DEF/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": I/src/brpc/src/bvar/detail/series.hNE_SMALL_ARRAY(uint32_t,:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here tmp, rhs._num_samples, 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": 168 | 426 | char call_op _returnname##_staing_vock_array[sizeof(Tp) * ind(aopm,e #t#m_ps,t ac_kd_aatrar.asye_csoinzed](;i ) ) ;  Step #12 - "compile-honggfuzz-address-x86_64": \|  ^ 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":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h 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/percentile.h:116:/src/brpc/src/bvar/detail/sampler.h16::40 :16note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": : note: 116 | in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": re:364: 40 | Sampleturn append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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": ) 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 | :/src/brpc/src/bvar/window.h _:v 58a:dr9a-:t >aop()()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ,/src/brpc/src/bvar/detail/call_op_returning_void.h:29: note: tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": im 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": e_u 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:s12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_return49i:n7g:_ voinote: din instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here(op Step #12 - "compile-honggfuzz-address-x86_64": , (tm49p | , c_data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 0/src/brpc/src/bvar/detail/series.hlass LatencyRecorderBase :116) {:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(va{ Step #12 - "compile-honggfuzz-address-x86_64": | } 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": lu132 | /src/brpc/src/bvar/detail/sampler.h:116:23:  note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": e, 116 | _op); DEFINE_SMALL_ARRAY Sample tmp; 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:  (u| int32_t, ^ tmp, rhs._num_samples, 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 | ; Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h ^ Step #12 - "compile-honggfuzz-address-x86_64":  :98/src/brpc/src/butil/macros.h:426:42: :9 :   note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":   _series.append(_owner->get_value426 | char name##_st(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ack_arrnote: 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": y[s/src/brpc/src/bvar/window.hi:z58e:o9: f( 98 | take_saTnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herep) Step #12 - "compile-honggfuzz-address-x86_64": mple();* name# 58 | 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": Step #12 - "compile-honggfuzz-address-x86_64":  151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:In file included from 49/src/brpc/src/bthread/bthread.cpp::728:: Step #12 - "compile-honggfuzz-address-x86_64": In file included from note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bthread/task_group.h/src/brpc/src/bvar/detail/percentile.h: :4926 | : Step #12 - "compile-honggfuzz-address-x86_64": In file included from c/src/brpc/src/bthread/task_control.hl:a34s: Step #12 - "compile-honggfuzz-address-x86_64": sIn file included from 529/src/brpc/src/bvar/bvar.h :L27a: Step #12 - "compile-honggfuzz-address-x86_64": tIn file included from e/src/brpc/src/bvar/latency_recorder.h:n:28c26:y: Step #12 - "compile-honggfuzz-address-x86_64": Rnote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heree/src/brpc/src/bvar/detail/percentile.hc:o289r:d16e:r Baswarning: e {first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 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 529289 | Step #12 - "compile-honggfuzz-address-x86_64": | 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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_s/src/brpc/src/bvar/detail/percentile.ht:a132c:k13_:a rrawarning: y_svariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]iz Step #12 - "compile-honggfuzz-address-x86_64": e 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_val u#_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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": _msemset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": e|  ^ Step #12 - "compile-honggfuzz-address-x86_64": (/src/brpc/src/bvar/detail/sampler.h:140:)16);: amnote: 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(), timpel_us(0e)r {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: ^ Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": = n ew116 | s a m p l e r _ t y p eS(amtphlies<T)>; t Step #12 - "compile-honggfuzz-address-x86_64": m p| ; ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sam/src/brpc/src/bvar/detail/percentile.hp:l289e:(16):;  Step #12 - "compile-honggfuzz-address-x86_64":  note: |  ^ Step #12 - "compile-honggfuzz-address-x86_64": explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/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": 289529 | | m e m s e_ts(amtphliesr ,= 0ne,w  ssiazmepolfer(_*tytphei(st)h)i;s Step #12 - "compile-honggfuzz-address-x86_64": ) ;|  Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": |  ^| Step #12 - "compile-honggfuzz-address-x86_64":  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/key.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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/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 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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/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_atc(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": h a| r ^ name##_stack Step #12 - "compile-honggfuzz-address-x86_64": _arr/src/brpc/src/bvar/detail/percentile.h:a499y:[12:s inote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": ze 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": of/src/brpc/src/bvar/window.h:53:17: note: (Tp) * name##_stack_in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": array_size 53 | ] _var;- >op()(v1, v2) ;  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:29:/src/brpc/src/bvar/detail/percentile.h12: :364note: :36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call 364 | _op_returning_void(op, t m p , _d ata. second(i)) get_interval_at(i).merge(*; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 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/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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: r = nenote: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | w SeriesS a mDpElFer(this, _vINE_SMALL_ARRAY(uint32_t, tmarp),; r Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: hs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class La: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": t encyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 426 | /src/brpc/src/bvar/detail/percentile.h : 132:13: chnote: arinitializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": n ame##_stack132_ | a r ra y [  s i z e o fDE(FTIpN)E _*S MnAaLmLe_#A#R_RsAtYa(cuki_natr3r2a_y_size]; \t, Step #12 - "compile-honggfuzz-address-x86_64": t| mp ^, Step #12 - "compile-honggfuzz-address-x86_64": rhs._:n153u:m1_:s ampnote: leexpanded from heres, Step #12 - "compile-honggfuzz-address-x86_64": 64); Step #12 - "compile-honggfuzz-address-x86_64": 153| | t ^m Step #12 - "compile-honggfuzz-address-x86_64": p_sta/src/brpc/src/butil/macros.hc:k426_:a42r:r ay_note: expanded from macro 'DEFINE_SMALL_ARRAY's Step #12 - "compile-honggfuzz-address-x86_64": i ze Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here426 | Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/butil/macros.h :425c:h20a:r  nnote: amexpanded from macro 'DEFINE_SMALL_ARRAY'e# Step #12 - "compile-honggfuzz-address-x86_64": # _stack_array[sizeof(Tp) 425* | n a m e#c#o_nssttac kunsig_naedrray_s name#iz#e_]s;ta c k _ a r r\ay Step #12 - "compile-honggfuzz-address-x86_64": _ s| iz ^e Step #12 - "compile-honggfuzz-address-x86_64": = (:161:1: note: expanded from herename##_si Step #12 - "compile-honggfuzz-address-x86_64": z e <= (max161s | itzmep)_ s?t ancakm_ea#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": | /src/brpc/src/bvar/detail/percentile.h: ^132 Step #12 - "compile-honggfuzz-address-x86_64": :13: :149note: :1declared here: Step #12 - "compile-honggfuzz-address-x86_64": note: /src/brpc/src/butil/macros.h:expanded from here425: Step #12 - "compile-honggfuzz-address-x86_64": 20 : note: expanded from macro 'DEFINE_SMALL_ARRAY'149 | Step #12 - "compile-honggfuzz-address-x86_64": t mp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^425 Step #12 - "compile-honggfuzz-address-x86_64": |  const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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 appe/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": n 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64);d_second(val Step #12 - "compile-honggfuzz-address-x86_64": | u ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": e, _op)426 | char name##_sta; Step #12 - "compile-honggfuzz-address-x86_64": c |  ^ Step #12 - "compile-honggfuzz-address-x86_64": k_array[sizeof(Tp) * /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | name##_stack_array_size]; _ \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": series.appen/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hered(_owner->get_v Step #12 - "compile-honggfuzz-address-x86_64": alue(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h 364 | get_interval_at(i).mer:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSge(*rhs._intervampler(Windowals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": Base* owner, R* var)/src/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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35:  Step #12 - "compile-honggfuzz-address-x86_64": note: 499 | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 151 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": :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_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderB ase {  Step #12 - "compile-honggfuzz-address-x86_64": | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  ^/src/brpc/src/bvar/window.h:58: Step #12 - "compile-honggfuzz-address-x86_64": 9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | /src/brpc/src/bvar/detail/percentile.h SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 132 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 13 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": note: initializer of 'tmp_stack_array_size' is not a constant expression 426 | 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": Step #12 - "compile-honggfuzz-address-x86_64": 132 425 | const unsigned 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":  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /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 SeriesSample[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": r(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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": /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": :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": [ 59%] 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/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": | /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": ^ Step #12 - "compile-honggfuzz-address-x86_64":  132 | :164: DEFINE_SMAL1:L_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": 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 : 4990 |  ) ; \ Step #12 - "compile-honggfuzz-address-x86_64": | b ^1 Step #12 - "compile-honggfuzz-address-x86_64": .merge:(160b:21):;  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/bvar/window.h:16053 | :t17m:p _stnote: acin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herek_ Step #12 - "compile-honggfuzz-address-x86_64": a rray_si53z | e  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": In file included from /src/brpc/src/bthread/mutex.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/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(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: initializer of 'nums_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38 : |  ^ Step #12 - "compile-honggfuzz-address-x86_64": warning: :121:1: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 317 | 121 | nFumisx_esdtHeaacdkA_nadrVray_size Step #12 - "compile-honggfuzz-address-x86_64": alue| t^m Step #12 - "compile-honggfuzz-address-x86_64": p[cur_b/src/brpc/src/bthread/task_control.cppa:t599c:h5]:;  Step #12 - "compile-honggfuzz-address-x86_64":  note: | declared here ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:/src/brpc/src/mcpack2pb/serializer.cpp20::377 :3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 377 | { add_primitives(_streanote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsim, peek_group_zien)f o?( )n,a values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": me##_size : 0); \/src/brpc/src/mcpack2pb/serializer.cpp Step #12 - "compile-honggfuzz-address-x86_64": : 317| :38 ^: Step #12 - "compile-honggfuzz-address-x86_64": note: :initializer of 'cur_batch' is not a constant expression117: Step #12 - "compile-honggfuzz-address-x86_64": 1 : note: expanded from here317 Step #12 - "compile-honggfuzz-address-x86_64": | 117 | n u m sF_isxteadcHke_aadrArnadyV_asliuzee<T Step #12 - "compile-honggfuzz-address-x86_64": > | t^m Step #12 - "compile-honggfuzz-address-x86_64": p[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:379:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :197:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 197 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :193:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 193 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.cpp:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/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": [ 59%] 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :170:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 170 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_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/memory_service.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/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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.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": /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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/prometheus_metrics_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | 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": ca 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ll_/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": op 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": _returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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/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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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/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 | 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": _sampler = new 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sorttable_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class 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": La 289 | memset(thtis, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_encyus(0) {} Step #12 - "compile-honggfuzz-address-x86_64": | R ^ecorderB Step #12 - "compile-honggfuzz-address-x86_64": ase {/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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": 116 | 132 | DEF SamINE_SMple tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": num/src/brpc/src/bvar/detail/sampler.h:_samples, 6498:); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: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": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sampl 426 | char namee(); Step #12 - "compile-honggfuzz-address-x86_64": | ## ^_ Step #12 - "compile-honggfuzz-address-x86_64": stack_a/src/brpc/src/bvar/detail/percentile.h:529:28: rray[sizeof(Tp) 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": * name##_stac 529k_ar | _saray_smplerize] = new; \ sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); 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":  (void*) 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_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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.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": mer 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": g 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": e(/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": b2 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": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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/grpc_health_check_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _o2 warningp)s generated; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:. Step #12 - "compile-honggfuzz-address-x86_64": 65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": /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": 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": | [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.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": | In file included from ^/src/brpc/src/brpc/builtin/ids_service.cpp Step #12 - "compile-honggfuzz-address-x86_64": :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/src/brpc/src/bvar/detail/percentile.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 132/src/brpc/src/bvar/latency_recorder.h::1326: 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": note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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/health_check.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 12 warnings generated. 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[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o 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 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": 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": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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 | _seri[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": es.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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/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": [ 70%] 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :50:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 50 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :46:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 46 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /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 | retu/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:426rn op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op:_29r:e turnote: nexpanded from macro 'DEFINE_SMALL_ARRAY'in Step #12 - "compile-honggfuzz-address-x86_64": g_ void(op, 426t | m p, _data.se char name##_stack_cond(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: array[sizeofnote: (Tin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herep) Step #12 - "compile-honggfuzz-address-x86_64": * name##_st116a | c k _ a r r a yr_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": eturn append_second(value, _op/src/brpc/src/bvar/detail/percentile.h):;364: Step #12 - "compile-honggfuzz-address-x86_64": 36 :|  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here364 Step #12 - "compile-honggfuzz-address-x86_64": | 65 | g e t _ i n t e r_vsaelr_at(i).meries.apgpee(n*dr(h_owner->ges._intetr_vvalasl[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ue(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^/src/brpc/src/bvar/detail/percentile.h Step #12 - "compile-honggfuzz-address-x86_64": :499:12: /src/brpc/src/bvar/window.h:58note: :9in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here:  Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesS 499 | b1.ammeprlgeer((bW2i)n;do Step #12 - "compile-honggfuzz-address-x86_64": w B| as ^e Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: * owner, R* vin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herear) Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 53 | /src/brpc/src/bvar/window.h : 151 : 35 :   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #12 - "compile-honggfuzz-address-x86_64": _ var->op()151( | v 1 , v 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: _series_s ampnote: lein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herer Step #12 - "compile-honggfuzz-address-x86_64": = new29 | S e r i erseStamuprlner (othpi(sv1,, _vv2a);r Step #12 - "compile-honggfuzz-address-x86_64": ) ;|  Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:/src/brpc/src/bvar/latency_recorder.h13::49 :7:note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herenote: Step #12 - "compile-honggfuzz-address-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class168 | L a t e cancyRecorderllB_aospe_ r{et Step #12 - "compile-honggfuzz-address-x86_64": u r| nin ^g Step #12 - "compile-honggfuzz-address-x86_64": _void(o/src/brpc/src/bvar/detail/percentile.hp:,132:13: note:  tmp, _datinitializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | a.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/detail/series.h : 116 : 16 : DEFnote: INin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereE_SMALL_A Step #12 - "compile-honggfuzz-address-x86_64": RRAY(u116i | n t 3 2 _ t , t mpr,e truhrsn appe._num_samples, 64)nd_seco;nd Step #12 - "compile-honggfuzz-address-x86_64": ( v| al ^u Step #12 - "compile-honggfuzz-address-x86_64": e, _op);/src/brpc/src/butil/macros.h:426:42:  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | char name# # _ s t a ck_arr _series.appenay[sizde(o_owner-f(Tp) >get_val* namuee#(#_1st)a)c;k_ Step #12 - "compile-honggfuzz-address-x86_64": a r| ra ^y Step #12 - "compile-honggfuzz-address-x86_64": _size/src/brpc/src/bvar/window.h]:;58 : 9 : \ Step #12 - "compile-honggfuzz-address-x86_64": note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 58 | : 219:1: note: expanded from here SeriesSam Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stpler(WindowBase* ownaecrk,_array_size Step #12 - "compile-honggfuzz-address-x86_64": R* var) 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/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _snote: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | ceries_sampler = neonst uw SeriesnSampsliegrn(edthis, _nvaamre)##;_ Step #12 - "compile-honggfuzz-address-x86_64": s t| ac ^k Step #12 - "compile-honggfuzz-address-x86_64": _array_s/src/brpc/src/bvar/latency_recorder.hi:z49e: 7=: (nanote: min instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heree## Step #12 - "compile-honggfuzz-address-x86_64": _ 49 | class Latsize <= (maxsizee)n c?y Rneacmoer#d#e_rsBiazsee : {0 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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215 Step #12 - "compile-honggfuzz-address-x86_64": : 1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 132 | 215 | t m p _ s tDaEcFkI_NaEr_rSaMyA_LsLi_zAe Step #12 - "compile-honggfuzz-address-x86_64": | ^ 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": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] 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/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": /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": :250:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 250 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :246:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 246 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.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/global.cpp.o 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/version_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":  /src/brpc/src/bvar/detail/percentile.h289: | 132 : 13 :   warning: mevariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]ms Step #12 - "compile-honggfuzz-address-x86_64": et(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": :229:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 229 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :225:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 225 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 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/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": /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, [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/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": /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*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(t his, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": v 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": a 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": r) 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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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)2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": ? 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/input_messenger.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": :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": /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/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": /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_iIn 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": nt 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": erv 98 | al _ a t ( i ) 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 | _sam.merge(*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:12p:l ernote: =in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b new sampler_type(this1).;me Step #12 - "compile-honggfuzz-address-x86_64": r | ge ^( Step #12 - "compile-honggfuzz-address-x86_64": b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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": /src/brpc/src/bvar/detail/percentile.h53 | : 289 : 16 :   note:  explicitly cast the pointer to silence this warning  Step #12 - "compile-honggfuzz-address-x86_64": _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 289 |  mem/src/brpc/src/bvar/detail/call_op_returning_void.hs:et29(:12t:h isnote: , in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here0 Step #12 - "compile-honggfuzz-address-x86_64":  , s29i | z eo rfet(u*rnth iosp()v)1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: ; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (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": :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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] 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/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :194:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 194 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/parallel_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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/periodic_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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) {}In file included from /src/brpc/src/brpc/controller.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bthread/bthread.h :| 32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h ^: Step #12 - "compile-honggfuzz-address-x86_64": 27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116: 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": 23: 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/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: Sin instantiation of member function 'bvar::detail::Sample>::Sample' requested heream Step #12 - "compile-honggfuzz-address-x86_64": ple tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  116 | ^ Step #12 - "compile-honggfuzz-address-x86_64":  Sample tmp/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": ; Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note:  529 | _sampler 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": = new s98a | m p ler_type(th take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^is); 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": 529 | /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, si _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": zeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/jemalloc_profiler.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": (valu 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": e, 426 | char name##_stack_array[sizeof(Tp) * name##_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": _op); 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": 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 |  ^ 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/src/brpc/src/bvar/window.h:65:25: : note: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here 168 | call_op_returning_voi Step #12 - "compile-honggfuzz-address-x86_64": d(op, 65 | tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116 :16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h: 65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _s eries.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": _s58 | e r i e s . aSpepreineds(S_aomplerwn(eWinrd-o>wgetB_avsae*l ueo(wner1, R*) );v Step #12 - "compile-honggfuzz-address-x86_64": ar) 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/window.h:: 151:35: note: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 58 | 151 | S e r ie s_sSearmipelse_rs(aWmipnldoweBra s=e* ow nenre,w SeriesSample R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": r(this,/src/brpc/src/bvar/window.h :_151:35:v ar)note: ; Step #12 - "compile-honggfuzz-address-x86_64": | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here 151 |  Step #12 - "compile-honggfuzz-address-x86_64": 49_ | secrileasss_sa Lmapletre n= cynReecwor SedreireBsSasaem p{le Step #12 - "compile-honggfuzz-address-x86_64": r (| t ^h Step #12 - "compile-honggfuzz-address-x86_64": is, _var)/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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:13249: | 7 :   note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #12 - "compile-honggfuzz-address-x86_64": DEFIN49E | _ScMlALasLs_A RLRaAtYe(ncyuReicnotr3d2e_rtB, atse m{p, Step #12 - "compile-honggfuzz-address-x86_64": r| hs._ ^n Step #12 - "compile-honggfuzz-address-x86_64": um_sample/src/brpc/src/bvar/detail/percentile.hs:,132 :136:4 );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": /src/brpc/src/butil/macros.h132: | 426 : 42 :   note: DEFIexpanded from macro 'DEFINE_SMALL_ARRAY'NE Step #12 - "compile-honggfuzz-address-x86_64": _ 426 | charSMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64":  |  ^n Step #12 - "compile-honggfuzz-address-x86_64": ame##_/src/brpc/src/butil/macros.hs:t426a:c42k:_ arrnote: ayexpanded from macro 'DEFINE_SMALL_ARRAY'[ Step #12 - "compile-honggfuzz-address-x86_64": s izeof(Tp) * name#426# | _ s t a ckc_haarrray _sniazmee]#;# _ s t a \c Step #12 - "compile-honggfuzz-address-x86_64": k _| ar ^r Step #12 - "compile-honggfuzz-address-x86_64": ay[size:219:1o:f (Tnote: p)expanded from here * Step #12 - "compile-honggfuzz-address-x86_64": name##_stac219k | _tarmrpa_ys_tsaiczke_]a;r r a y _ s i\z Step #12 - "compile-honggfuzz-address-x86_64": e | Step #12 - "compile-honggfuzz-address-x86_64":  ^| Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": :33:1:/src/brpc/src/bvar/detail/percentile.h :132:note: 13:expanded from here  Step #12 - "compile-honggfuzz-address-x86_64":  note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 33 | tm/src/brpc/src/butil/macros.hp:_425s:t20a:c k_anote: rrexpanded from macro 'DEFINE_SMALL_ARRAY'ay Step #12 - "compile-honggfuzz-address-x86_64": _ 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 here425 | Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/butil/macros.h:c425o:n20s:t  note: uexpanded from macro 'DEFINE_SMALL_ARRAY'ns Step #12 - "compile-honggfuzz-address-x86_64": i gned name##_stack_array_size425 | = ( n a mec#on#s_tsi zeu n#:#215_:s1i:z e :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": :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": :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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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 | [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": get_interval_at(i).merge(*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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :16:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 16 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :12:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 12 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :137:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 137 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :133:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 133 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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(valu/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": e, 426 | char name##_stack_array[sizeof(Tp) * name##_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": _op); 364 Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  get_int/src/brpc/src/bvar/window.he:r65v:a25l:_ at(note: i)in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here.m Step #12 - "compile-honggfuzz-address-x86_64": erge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)|  ^ 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": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^499 Step #12 - "compile-honggfuzz-address-x86_64":  |  /src/brpc/src/bvar/window.h :b581:.9m:e rgenote: (bin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here2) Step #12 - "compile-honggfuzz-address-x86_64": ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 58 |  /src/brpc/src/bvar/window.h : 53S:erie17s:S amplnote: erin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here(W Step #12 - "compile-honggfuzz-address-x86_64": i ndow53B | a s e * o wner , R * v a r_)v Step #12 - "compile-honggfuzz-address-x86_64": a | r- ^ Step #12 - "compile-honggfuzz-address-x86_64": >op(/src/brpc/src/bvar/window.h):(151v1:,35 :v 2);note:  Step #12 - "compile-honggfuzz-address-x86_64": 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/src/brpc/src/bvar/detail/call_op_returning_void.h | : 29 : 12 :   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here  Step #12 - "compile-honggfuzz-address-x86_64": _ serie29s | _ s am p lerre t=u rnne wop S(evr1i,e svS2)a;mpl Step #12 - "compile-honggfuzz-address-x86_64": e r| ( ^t Step #12 - "compile-honggfuzz-address-x86_64": his, _/src/brpc/src/bvar/detail/series.hv:a168r:)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":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: 168 |  note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 49 |  cclaalssl_ oLpa_treentcuyrnRiencgo_rvdoerBase {id(op Step #12 - "compile-honggfuzz-address-x86_64": , | tm ^p Step #12 - "compile-honggfuzz-address-x86_64": , _data/src/brpc/src/bvar/detail/percentile.h.:s132e:c13o:n d(inote: ))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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h132: | 116 : 16 :   note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here  Step #12 - "compile-honggfuzz-address-x86_64": DEFINE_SMALL_116A | R RA Y ( ui n t 32_tr,e ttumrpn, r hasp.p_ennudm__sseacond(valmples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: ue, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | ch65 | _ar namseries.aep#p#e_nsdt(a_cokw_naerrr-a>y[sizeoget_value(1f(Tp))) ;* Step #12 - "compile-honggfuzz-address-x86_64": n a| me ^# Step #12 - "compile-honggfuzz-address-x86_64": #/src/brpc/src/bvar/window.h:_stack_arra58:y9_: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heresize];  Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": 58 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   :219:1: SeriesSampler(Windownote: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_sBase* owner, tR*ack_array_size var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:  note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _snote: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned nameeries_sampler = new##_ sStearcike_array_ssSampilzeer (this= ,( n_avmaer#)#;_s Step #12 - "compile-honggfuzz-address-x86_64": i z| e ^< Step #12 - "compile-honggfuzz-address-x86_64": = (max/src/brpc/src/bvar/latency_recorder.hsi:z49e:)7: ? name##_note: sin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereiz Step #12 - "compile-honggfuzz-address-x86_64": e : 0)49; | \cl Step #12 - "compile-honggfuzz-address-x86_64": a s| s ^ Step #12 - "compile-honggfuzz-address-x86_64": Laten:c215y:R1ecorderBase : note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_st{ 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": 132ack_array_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": DEFI 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samplNesE_S,MAL L_6ARRA4Y();u Step #12 - "compile-honggfuzz-address-x86_64": int32_t, tmp, | rhs._num_sa ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~mples, 6 Step #12 - "compile-honggfuzz-address-x86_64": 4); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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 <=  Step #12 - "compile-honggfuzz-address-x86_64": 426 | char nam(maxsize) ? name##_size : 0); e##_stack_\ Step #12 - "compile-honggfuzz-address-x86_64": |  ^array[sizeof Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: (Texpanded from herep) Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_* name##_stacstackk_arr_array_sizae]; y_size Step #12 - "compile-honggfuzz-address-x86_64": \  Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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/periodic_naming_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.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/hasher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/http2_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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/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_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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/locality_aware_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/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 | In file included from _series.append(_owner->ge/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": t/src/brpc/src/bvar/detail/sampler.h_value:40:(16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 1 40 | Samp))le() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample t;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":  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": /src/brpc/src/bvar/window.h: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": 289 | memset(this, 0 | , sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  Se (void*)riesS 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": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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]; \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": Step #12 - "compile-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":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample<[ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": T> tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, aps, nchan, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :55:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 55 | aps_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :51:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 51 | aps_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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->g2et_ warningvs generated. Step #12 - "compile-honggfuzz-address-x86_64": alue(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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": [ 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": 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": 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.hIn file included from /src/brpc/src/brpc/partition_channel.cpp::2821: Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from 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/src/brpc/src/bvar/latency_recorder.h: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 26/src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file 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: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": :289: 289 | memset(this, 0, s16izeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40: | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": Sa mple tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this/src/brpc/src/bvar/detail/sampler.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": 980 | , sizeo f( *taktehis_s)a)m;pl Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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/sampler.h:40:16/src/brpc/src/bvar/detail/percentile.h:: 529:28: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herenote:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample529( | ) : d a t a ( ) , t i m_es_aumsp(ler 0= ) n{e}w Step #12 - "compile-honggfuzz-address-x86_64": s| am ^p Step #12 - "compile-honggfuzz-address-x86_64": ler_type/src/brpc/src/bvar/detail/sampler.h(:116t:h23i:s );note:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::Sample>::Sample' requested here | Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this,/src/brpc/src/bvar/detail/sampler.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 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": = | n (void*)e Step #12 - "compile-honggfuzz-address-x86_64": w sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :141:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 141 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | In file included from /src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp :26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.hc:onst 32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from u/src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": n/src/brpc/src/bvar/detail/percentile.h:289:16:sig warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": ned name 289## | _ sta c mkemse_t(atrhis, 0r, aysizeof(*_tshis)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ize = (na/src/brpc/src/bvar/detail/sampler.h:40:16: me##note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": _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": 40 | Samp 137le() : data(), t | imet_us(0) {}m Step #12 - "compile-honggfuzz-address-x86_64": p|  ^ Step #12 - "compile-honggfuzz-address-x86_64": _/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": st 116 | a Sacmple tmp;k_ Step #12 - "compile-honggfuzz-address-x86_64": |  ^a Step #12 - "compile-honggfuzz-address-x86_64": rray_s/src/brpc/src/bvar/detail/sampler.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": i 98 | z e Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/file_naming_service.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": :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": 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 | [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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/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": :183:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 183 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :179:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 179 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/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:362 warnings generated: . Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*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:116In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": :16 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::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64":  116 | note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : d ata(), time_ return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.hus(0:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65) | { _series.appe} Step #12 - "compile-honggfuzz-address-x86_64": | nd(_o ^wner-> Step #12 - "compile-honggfuzz-address-x86_64": get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* ow 116 | ner, R* var Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": ) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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(uint3[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :217:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 217 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :213:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 213 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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#[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": #_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :199:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 199 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /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_/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": S132 | DEFINE_SMALL_ARRAY(uinMALL_ARRAt32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": | Y(uint32_t, tmp, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": rhs._num_samp 426 | char name##_lestack_array[sizeof(Tp) * sname##_st,ack_ 64ar);ray_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/butil/macros.h:426 :42:  \ 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": /src/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 426 | g | e ct_inhar name##_stack_atrerray[sizeof(Tp) * name##_stack_array_size]; val\ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64":  :219|  ^:1: Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:499:12: note: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.mergeexpanded from here(b2) Step #12 - "compile-honggfuzz-address-x86_64": ; 219 | Step #12 - "compile-honggfuzz-address-x86_64": tmp_| st ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:ack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 53:17/src/brpc/src/bvar/detail/percentile.h:132:: note: 13in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here: Step #12 - "compile-honggfuzz-address-x86_64": note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20 53 | : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": _var->op()( 425 | v1, v2) ;  Step #12 - "compile-honggfuzz-address-x86_64": const unsigned name##_sta| ck_arra ^ Step #12 - "compile-honggfuzz-address-x86_64": y_/src/brpc/src/bvar/detail/call_op_returning_void.hsize = :29(na:me##_size12 : note: <= (main instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": x 29 | s retize) ?ur namn op(e##_size : 0v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": )/src/brpc/src/bvar/detail/series.h:168:; 13:\ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 168 | 215 cal | l_op_returning_void(op, tmp, _datmta.p_stsecond(ack_ari)r); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": a/src/brpc/src/bvar/detail/series.h:y_size116:16:  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 Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, | ^ Step #12 - "compile-honggfuzz-address-x86_64": _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": /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/policy/crc32c_checksum.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (m[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": axsize) ? 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 | [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 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.h86 | tmp_stack_array_s:26: Step #12 - "compile-honggfuzz-address-x86_64": ize Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/percentile.h::289132::13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 16 425 | c:o nst unsigned name##_stack_array_size = (name##_size <= (maxsize)warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ 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": 289 | 82 | tm p_stack memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": _ 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": a 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": rra 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": y_s 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ize Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: 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/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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_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": :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": /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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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": 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": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /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/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]In file included from Step #12 - "compile-honggfuzz-address-x86_64": /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.h289: | 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": memseIn file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:t(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 26/src/brpc/src/bvar/detail/sampler.h:40:16: : Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.hnote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0): {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 289 :116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9:16 :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 | warning: first argument in 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 | _sampler = new sampler_type(this); 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/src/brpc/src/bvar/detail/percentile.h Step #12 - "compile-honggfuzz-address-x86_64": : 289:16: 40 | note:  explicitly cast the pointer to silence this warning  Step #12 - "compile-honggfuzz-address-x86_64": Sa mple() : 289d | a t a ( ) , t immeem_suest((0th)i s{}, Step #12 - "compile-honggfuzz-address-x86_64":  0| , ^ Step #12 - "compile-honggfuzz-address-x86_64": sizeo/src/brpc/src/bvar/detail/sampler.hf:116(:*23:t hisnote: )in instantiation of member function 'bvar::detail::Sample>::Sample' requested here); Step #12 - "compile-honggfuzz-address-x86_64":  116 | Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::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/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": /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: /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": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 16865 | | _series.append(_o wn er->get _v call_op_returnialue(1))ng_void(op,; Step #12 - "compile-honggfuzz-address-x86_64": tmp, _data.| s ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": econd(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  58 | /src/brpc/src/bvar/detail/series.h :116:16:  SeriesSampler(WindowBase* ownernote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here, Step #12 - "compile-honggfuzz-address-x86_64": R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 116/src/brpc/src/bvar/window.h | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": :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_sa/src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | mpler _=series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: newnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": SeriesSa 58 | SeriesSampler(WindowBasmpler(this, _vare* o); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:w49ner,: R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35:7: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64":  151 | _series_samplenote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herer = Step #12 - "compile-honggfuzz-address-x86_64":  n49 | eclass Lwat enSecyriRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": e/src/brpc/src/bvar/detail/percentile.hsSample:r132:(t13:h note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": i 132 | s DEFINE_SMALL_ARRAY(, u_int32_t, tmp, rhs._num_samples, v64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ar)/src/brpc/src/butil/macros.h;:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  426 | Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  c/src/brpc/src/bvar/detail/percentile.hhar name#:132#:_stack_array[sizeof13(Tp) * name##_stack:_array_size]; \ 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": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 132 | 40DEFINE_S | tMALL_ARmp_staRAY(uintck32__tarray, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:_size426: 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": 42:/src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  425 | note:  const unsigexpanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": n 426 | char name##ed _sname##_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: texpanded from herea Step #12 - "compile-honggfuzz-address-x86_64": ck_array[sizeof(Tp) 36 | t *mp_st anckame##_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": _ar r185 | tmp_stack_aay_rrays_izsei Step #12 - "compile-honggfuzz-address-x86_64": | ze^ 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: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/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/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 LateIn 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": n 40 | SacmypRleec(o)r d:e rdata(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": B 116 | a Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": s98e | {  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": /src/brpc/src/bvar/detail/percentile.h 529 | : 132 : 13 : _sanote: mpler = initializer of 'tmp_stack_array_size' is not a constant expressionne Step #12 - "compile-honggfuzz-address-x86_64": w sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  132 | DEF/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": I 289 | memset(this, 0, siNzEe_oSf(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) 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": :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": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #12 - "compile-honggfuzz-address-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/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/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #12 - "compile-honggfuzz-address-x86_64": 582 | SerializeHuluHeaderAndMeta(&res_buf, request_meta, 0); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | 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:series.appe25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26nd(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) 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 Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | :27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28 _s: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": eries_/src/brpc/src/bvar/detail/percentile.h:289:16: samplewarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]r = n Step #12 - "compile-honggfuzz-address-x86_64": ew Se 289 | rie memssSamet(pler(this, _var);this Step #12 - "compile-honggfuzz-address-x86_64": , 0, |  ^ Step #12 - "compile-honggfuzz-address-x86_64": sizeof(*/src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  49 | class LatencyRec/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": o 40rderBase | Samp{ Step #12 - "compile-honggfuzz-address-x86_64": |  ^le() : d Step #12 - "compile-honggfuzz-address-x86_64": a/src/brpc/src/bvar/detail/percentile.h:132:13: ta(), tinote: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": me_us( 132 | D0E) F{I}NE Step #12 - "compile-honggfuzz-address-x86_64": _ S| MA ^L Step #12 - "compile-honggfuzz-address-x86_64": L_ARRA/src/brpc/src/bvar/detail/sampler.hY:(116u:i23n:t 32_note: t,in instantiation of member function 'bvar::detail::Sample>::Sample' requested here t Step #12 - "compile-honggfuzz-address-x86_64": m p, rhs._num116_ | s a m p l e s ,  6 4 Samp)l;e< Step #12 - "compile-honggfuzz-address-x86_64": T >| t ^mp; Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426/src/brpc/src/bvar/detail/sampler.h::4298:: 9: note: expanded from macro 'DEFINE_SMALL_ARRAY'note:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_426 | s a m p lec(h)a;r Step #12 - "compile-honggfuzz-address-x86_64": n| am ^e Step #12 - "compile-honggfuzz-address-x86_64": ##_sta/src/brpc/src/bvar/detail/percentile.hc:k529_:a28r:r ay[note: sin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereiz Step #12 - "compile-honggfuzz-address-x86_64": e of(Tp) * name##_529s | t a c k _ a r r a y _ size] ;_ s a m p l e\r Step #12 - "compile-honggfuzz-address-x86_64": = | n ^e Step #12 - "compile-honggfuzz-address-x86_64": w sampl:e219r:_1t:y pe(note: texpanded from herehi Step #12 - "compile-honggfuzz-address-x86_64": s ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: /src/brpc/src/bvar/detail/percentile.hdeclared here: Step #12 - "compile-honggfuzz-address-x86_64": 289:16:/src/brpc/src/butil/macros.h :425:note: 20:explicitly cast the pointer to silence this warning  Step #12 - "compile-honggfuzz-address-x86_64":  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(thi425s |  ,  0c,o nssizetof (u*nsitghnised)) ;na Step #12 - "compile-honggfuzz-address-x86_64": m e| ## ^_ Step #12 - "compile-honggfuzz-address-x86_64": st a| ck (void*)_ Step #12 - "compile-honggfuzz-address-x86_64": 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 | t2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": mp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o 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": In file included from /src/brpc/src/brpc/policy/nshead_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": :219 289 | memset(:this, 01: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_si, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: ze Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  116 | /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": Sam 425 | const unsigned name##_stapcle tk_array_smp; Step #12 - "compile-honggfuzz-address-x86_64": iz e = (name##_size <= (maxsize) ? name##_|  ^ Step #12 - "compile-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": size : /src/brpc/src/bvar/detail/percentile.h:289:16: 0)note: ; explicitly cast the pointer to silence this warning\ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1 Step #12 - "compile-honggfuzz-address-x86_64": : note:  289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  expanded from here|  (void*) Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/nshead_mcpack_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:364 | 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: get_intervwarning: al_first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]at Step #12 - "compile-honggfuzz-address-x86_64": (i).merge( 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": r 529 | h s . _ i _sampler = newn sampler_type(ttehrivsa); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ls[i/src/brpc/src/bvar/detail/percentile.h:289:16: note: ])explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": ; 289 | memset(th Step #12 - "compile-honggfuzz-address-x86_64": is , | 0, sizeof(* ^this Step #12 - "compile-honggfuzz-address-x86_64": )); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h |  (void*) 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": 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/round_robin_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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_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:27t, : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from t/src/brpc/src/bvar/latency_recorder.hm:p26,: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289 rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": :16:|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h: warning: 426:first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]42:  Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[ 289 | mesmsizeof(Tp) *et(this, 0, sizeof n(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ame#/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": #_ 40 | Sample() : data(), statime_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ck_a/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": rray_s 116 | ize ]; \ Samp 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": | le tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h/src/brpc/src/bvar/detail/percentile.h:132:13::98:9: note: declared herenote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  425 | c Step #12 - "compile-honggfuzz-address-x86_64": o 98 | take_nst suamplnes(ign)ed ;na Step #12 - "compile-honggfuzz-address-x86_64": m e| ## ^ Step #12 - "compile-honggfuzz-address-x86_64": _stack_array_si/src/brpc/src/bvar/detail/percentile.hz:e =529 :(28nam:e ##_snote: izin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heree < Step #12 - "compile-honggfuzz-address-x86_64": = (529m | a x siz e ) ? n a m e # #_s i_zsea mpler =: 0ne)w; \sa Step #12 - "compile-honggfuzz-address-x86_64": m p| le ^r_typ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: e(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 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: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": /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": 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: 2565: 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] _s Step #12 - "compile-honggfuzz-address-x86_64": eries.a 289 | memset(this, 0ppend, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": ( |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | _ Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": o 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": wner->ge 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": t_val/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": ue( 289 | memset(this, 10, s))iz; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": e/src/brpc/src/bvar/window.hof(*:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herethis)); Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSample| r(WindowBase* ow ^ Step #12 - "compile-honggfuzz-address-x86_64": ne |  (void*)r, R* v Step #12 - "compile-honggfuzz-address-x86_64": ar) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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 <= (maxsiz2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": e) ? 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": [ 89%] 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/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: 2 warningnote: s generatedin 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 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.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/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 | value(1)) ; Step #12 - "compile-honggfuzz-address-x86_64": uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 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": ]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1570 | char buf[header_len]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] 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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/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": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :217:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 217 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :213:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 213 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 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/restful.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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/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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o 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": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 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 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 4 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": /src/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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o 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, _oIn 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 p/src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file 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":  Step #12 - "compile-honggfuzz-address-x86_64": |  289 | ^ memset(this, 0, sizeof Step #12 - "compile-honggfuzz-address-x86_64": (*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp;/src/brpc/src/bvar/window.h: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": Step #12 - "compile-honggfuzz-address-x86_64":  65 | /src/brpc/src/bvar/detail/sampler.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": _series98. | a p p e nd ( _ otwankeer_-s>agemtp_lvealue((); Step #12 - "compile-honggfuzz-address-x86_64": |  ^1 Step #12 - "compile-honggfuzz-address-x86_64": )); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h: ^529 Step #12 - "compile-honggfuzz-address-x86_64": :28: /src/brpc/src/bvar/window.hnote: :58in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here:9 Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | 58 | S e_rsiaemspSlaemrp l=e r(nWienwdo wsBaamspel* eor_wtnyepre,( Rt*h ivsar)); 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:289:16: ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | note:  explicitly cast the pointer to silence this warning  Step #12 - "compile-honggfuzz-address-x86_64": _s289e | r i e s _ s amemmpsleer t=( netwhi sSe,r ie0s,S amspilzeero(ft(h*isth,i s_v));ar Step #12 - "compile-honggfuzz-address-x86_64": ) | ; ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | | ^ Step #12 - "compile-honggfuzz-address-x86_64": (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.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/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": :182:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 182 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :178:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 178 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/protocol.cpp:42: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": In file included from /src/brpc/src/brpc/rpc_dump.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 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": :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": /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": 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": :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/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": 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/src/brpc/src/bvar/detail/percentile.h::26289: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from 16/src/brpc/src/bthread/bthread.h:: 32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from note: /src/brpc/src/bthread/mutex.h:explicitly cast the pointer to silence this warning27: 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": 289 | /src/brpc/src/bvar/detail/percentile.h : 289 : 16 :  mwarning: emsfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]et Step #12 - "compile-honggfuzz-address-x86_64": (this, 0, sizeof (289* |  t h i s  ) ) ;me Step #12 - "compile-honggfuzz-address-x86_64": m s| et ^( Step #12 - "compile-honggfuzz-address-x86_64": t h| is (void*) Step #12 - "compile-honggfuzz-address-x86_64": , 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-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": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/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": 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_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/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": 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": :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": :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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :183:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 183 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :179:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 179 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :53:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 53 | buf_list_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :49:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 49 | buf_list_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 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": /src/brpc/src/brpc/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 2003 | char buf[fullname_len]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 2000 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /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": 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": 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": :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": 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": :25:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 25 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :21:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 21 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 4 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 7 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_butil Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_hpack Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_json Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_json Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target fuzz_redis Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #12 - "compile-honggfuzz-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target brpc-static-debug Step #12 - "compile-honggfuzz-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/tmpjan14eey/fuzz_json Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_shead Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_butil Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_esp Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_redis Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_hpack Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_http Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_hulu Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/fuzz_uri Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpjan14eey/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 707 --:--:-- --:--:-- --:--:-- 706 100 147 0 0 100 147 0 707 --:--:-- --:--:-- --:--:-- 706 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 27 198M 0 0 27 55.2M 0 143M 0:00:01 --:--:-- 0:00:01 143M 99 198M 0 0 99 198M 0 143M 0:00:01 0:00:01 --:--:-- 143M 100 198M 0 0 100 198M 0 124M 0:00:01 0:00:01 --:--:-- 124M 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 423 --:--:-- --:--:-- --:--:-- 423 100 102 0 0 100 102 0 423 --:--:-- --:--:-- --:--:-- 423 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 162 --:--:-- --:--:-- --:--:-- 162 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/brpc Finished Step #20 Starting Step #21 - "compile-libfuzzer-address-x86_64" Step #21 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #21 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": CC=clang Step #21 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #21 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #21 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #21 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": + '[' address = undefined ']' Step #21 - "compile-libfuzzer-address-x86_64": + mkdir -p build Step #21 - "compile-libfuzzer-address-x86_64": + cd build Step #21 - "compile-libfuzzer-address-x86_64": + cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link' -DLIB_FUZZING_ENGINE=-fsanitize=fuzzer -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #21 - "compile-libfuzzer-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #21 - "compile-libfuzzer-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #21 - "compile-libfuzzer-address-x86_64": CMake. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #21 - "compile-libfuzzer-address-x86_64": CMake that the project does not need compatibility with older versions. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": -- The C compiler identification is Clang 22.0.0 Step #21 - "compile-libfuzzer-address-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compiler ABI info Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compiler ABI info - done Step #21 - "compile-libfuzzer-address-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compile features Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting C compile features - done Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compiler ABI info Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compiler ABI info - done Step #21 - "compile-libfuzzer-address-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compile features Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compile features - done Step #21 - "compile-libfuzzer-address-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #21 - "compile-libfuzzer-address-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #21 - "compile-libfuzzer-address-x86_64": -- Found Threads: TRUE Step #21 - "compile-libfuzzer-address-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #21 - "compile-libfuzzer-address-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #21 - "compile-libfuzzer-address-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #21 - "compile-libfuzzer-address-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #21 - "compile-libfuzzer-address-x86_64": CMake. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #21 - "compile-libfuzzer-address-x86_64": CMake that the project does not need compatibility with older versions. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": -- Configuring done (0.0s) Step #21 - "compile-libfuzzer-address-x86_64": -- Generating done (0.0s) Step #21 - "compile-libfuzzer-address-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #21 - "compile-libfuzzer-address-x86_64": [ 11%] Creating directories for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": Cloning into 'googletest-src'... Step #21 - "compile-libfuzzer-address-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #21 - "compile-libfuzzer-address-x86_64": [ 33%] Performing update step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 44%] No patch step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 55%] No configure step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 66%] No build step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 77%] No install step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [ 88%] No test step for 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [100%] Completed 'googletest' Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target googletest Step #21 - "compile-libfuzzer-address-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #21 - "compile-libfuzzer-address-x86_64": -- Configuring done (3.2s) Step #21 - "compile-libfuzzer-address-x86_64": -- Generating done (0.4s) Step #21 - "compile-libfuzzer-address-x86_64": -- Build files have been written to: /src/brpc/build Step #21 - "compile-libfuzzer-address-x86_64": ++ nproc Step #21 - "compile-libfuzzer-address-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.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 addressbook1.pb.h, addressbook1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/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 addressbook_encode_decode.pb.h, addressbook_encode_decode.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": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating echo.pb.h, echo.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating grpc.pb.h, grpc.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating health_check.pb.h, health_check.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating message.pb.h, message.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.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": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/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/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/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 CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.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": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.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/file_util.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/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.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": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.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 CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] 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 CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.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/TEST_PROTO_LIB.dir/addressbook.pb.cc.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 CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.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": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] 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": [ 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 test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/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": /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": /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": 1 warning generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] 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/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": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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 | In file included from /src/brpc/src/bthread/countdown_event.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h 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 | 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": _Sp_cp_t ype(__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, __289 | tag, std::forward<_Args>(__args)...) Step #21 - "compile-libfuzzer-address-x86_64": | memse ^ 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:t (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_sthhared_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": i 717 | return std::allocate_shared<_Ts, 0,p s>(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": iz 89 | eof(*th : _icombiner(std::maks)); Step #21 - "compile-libfuzzer-address-x86_64": e_share|  ^ Step #21 - "compile-libfuzzer-address-x86_64": d<com/src/brpc/src/bvar/detail/sampler.h:40bin:16: note: er_typein instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": >( 40 | Sample() : data(), time_us(0) {)), _sam} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": pler(NUL/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | L) { Sam}ple Step #21 - "compile-libfuzzer-address-x86_64": |  ^t Step #21 - "compile-libfuzzer-address-x86_64": mp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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": /src/brpc/src/bvar/detail/percentile.h98 | :289 take_samp:16: note: explicitly cast the pointer to silence this warningle(); Step #21 - "compile-libfuzzer-address-x86_64": |  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64":  289 | /src/brpc/src/bvar/detail/percentile.h : 529 :28m:ems etnote: 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": this,  0, s529i | z e o f  ( *  t h i s _)s)a;mp Step #21 - "compile-libfuzzer-address-x86_64": l e| r ^= Step #21 - "compile-libfuzzer-address-x86_64": n e| w (void*)s Step #21 - "compile-libfuzzer-address-x86_64": ampler_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(In file included from *this)/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: Step #21 - "compile-libfuzzer-address-x86_64": |  ^26: Step #21 - "compile-libfuzzer-address-x86_64": 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(th| is (void*) Step #21 - "compile-libfuzzer-address-x86_64": , 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.hIn file included from /src/brpc/src/bthread/semaphore.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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:98:9:, 0, size 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": of 98 | ta(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ke_sample/src/brpc/src/bvar/detail/sampler.h:40:16: (); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: 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": in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here 529 | Step #21 - "compile-libfuzzer-address-x86_64": _ 40 | Sasampler = newm psalmpele() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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()r_type(; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": this)/src/brpc/src/bvar/detail/percentile.h:529; Step #21 - "compile-libfuzzer-address-x86_64": :| 28 ^ Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | /src/brpc/src/bvar/detail/percentile.h:289:16: _samplernote: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": =  new samp289 | memlseet(rt_type(thish,i s0, )s;iz Step #21 - "compile-libfuzzer-address-x86_64": eof(*thi| 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/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/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 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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: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 CombinedPercentileSamplIn file included from /src/brpc/src/bthread/id.cpp:25es); 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/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warningIn 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:16: 289 | mem set(thiswarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": , 0, sizeo 289 | memfset(*(tthishis)), 0, sizeof; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": (*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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/bvar/collector.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h :| 132: ^13 Step #21 - "compile-libfuzzer-address-x86_64": : warning: /src/brpc/src/bvar/detail/series.h:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]168: Step #21 - "compile-libfuzzer-address-x86_64": 13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 132 | 168 DE | F I N E _ S M A L L _ A RcRaAlYl(_uoipn_tr3e2t_utr,n itnmgp_,v orihds(.o_pn,u mt_mspa,m p_ldeast,a .s6e4co)n;d( Step #21 - "compile-libfuzzer-address-x86_64": i )| ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_ s116t | a c k _ a r r a yr[etsuirzneo fap(pTepn)d _*s encaomned#(#v_asltuaec,k __aorpr)a;y_ Step #21 - "compile-libfuzzer-address-x86_64": s i| ze ^] Step #21 - "compile-libfuzzer-address-x86_64": ;  /src/brpc/src/bvar/window.h :\65: Step #21 - "compile-libfuzzer-address-x86_64": 25 :|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here/src/brpc/src/bvar/detail/percentile.h Step #21 - "compile-libfuzzer-address-x86_64": :364:36:  note: 65 | in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 364 | _ s e r i e s . a p p egnedt(__ionwtneerrv-a>lg_eatt_(via)l.umee(rg1e()*)r;hs Step #21 - "compile-libfuzzer-address-x86_64": . _| in ^t Step #21 - "compile-libfuzzer-address-x86_64": erval/src/brpc/src/bvar/window.hs:[58i:]9):;  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": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h :58499 | : 12 :   note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereSe Step #21 - "compile-libfuzzer-address-x86_64": ri e499s | S a m p l e r ( Wbi1n.dmoewrBgaes(eb*2 )o;wn Step #21 - "compile-libfuzzer-address-x86_64": e r| , ^R Step #21 - "compile-libfuzzer-address-x86_64": * va/src/brpc/src/bvar/window.hr:)53: Step #21 - "compile-libfuzzer-address-x86_64": 17 :|  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": :151: 3553: |   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #21 - "compile-libfuzzer-address-x86_64": _var-> o151p | ( ) ( v 1 , v 2 ) ;  Step #21 - "compile-libfuzzer-address-x86_64": _ s| er ^i Step #21 - "compile-libfuzzer-address-x86_64": es_sampl/src/brpc/src/bvar/detail/call_op_returning_void.he:r29 :=12 : ne/src/brpc/src/bvar/detail/percentile.hw:132: 13S:e rnote: iin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herewarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]e Step #21 - "compile-libfuzzer-address-x86_64": s Step #21 - "compile-libfuzzer-address-x86_64": Sampl e29 r | 132( |  t h i sr e ,t u _r vn a r )oD;pE(F Step #21 - "compile-libfuzzer-address-x86_64": vI 1N| ,E _ ^vS Step #21 - "compile-libfuzzer-address-x86_64": 2M)A;L/src/brpc/src/bvar/latency_recorder.hL Step #21 - "compile-libfuzzer-address-x86_64": | :_49A ^:R Step #21 - "compile-libfuzzer-address-x86_64": 7R:A Y(/src/brpc/src/bvar/detail/series.hu:note: i168nt3:in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here213_: Step #21 - "compile-libfuzzer-address-x86_64":  note: 49 | in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herec Step #21 - "compile-libfuzzer-address-x86_64": lat ,168 tm | p , ss rhs._nu Latency mReco _ srder amBase cpl a{ Step #21 - "compile-libfuzzer-address-x86_64": elsl,|  ^ Step #21 - "compile-libfuzzer-address-x86_64": _ o/src/brpc/src/bvar/detail/percentile.h:132:13:6p4_ note: r)initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~etu Step #21 - "compile-libfuzzer-address-x86_64": rning 132 | /src/brpc/src/butil/macros.h_:v426 :oid29 : note: ( DEFopI,Nexpanded from macro 'DEFINE_SMALL_ARRAY'E Step #21 - "compile-libfuzzer-address-x86_64": tmp_SMALL_AR,RAY(uint32_t, tmp, rh_s.426d_num_samples, | a64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": t /src/brpc/src/butil/macros.h:426:42: a.note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": se c426 | chaonr name##_sd(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSamcpler(hWaindorwtBase* owner, R*a var) Step #21 - "compile-libfuzzer-address-x86_64": c k|  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: 40name##_stack_array[_:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heresizeo Step #21 - "compile-libfuzzer-address-x86_64": farr(Tp) * 40 | a nay[Sme##_sasmipzeof(Tp) * name#tack_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": le#()_sta c:k_array _dsize]; a t a\() Step #21 - "compile-libfuzzer-address-x86_64": , | ti ^m Step #21 - "compile-libfuzzer-address-x86_64": e_us(:166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 0) {} Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_ar |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ray_size Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h :| 116^ Step #21 - "compile-libfuzzer-address-x86_64": :23: /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: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested hereexpanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 116 425 | const uns | ign ed n Samame##_ple stack_arrtmp; Step #21 - "compile-libfuzzer-address-x86_64": | ay_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":  ^ 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/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/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": 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: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :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": 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[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_siz2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": e 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/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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/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: /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 | note:  in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 364 | D E F I N E _ S M A L L _ AgReRtA_Yi(nutienrtv3a2_lt, tmp, _at(ir)h.sm.e_rgneu(m*_rshamsp.l_eisn,t 64);ervals Step #21 - "compile-libfuzzer-address-x86_64": [ i| ]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~; 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: /src/brpc/src/bvar/detail/percentile.h:499note: :12expanded from macro 'DEFINE_SMALL_ARRAY': Step #21 - "compile-libfuzzer-address-x86_64":  426 | chnote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | ba1r.m enragem(eb#2#)_;st Step #21 - "compile-libfuzzer-address-x86_64": a c| k_ ^a Step #21 - "compile-libfuzzer-address-x86_64": rray[/src/brpc/src/bvar/window.h:s53i:z17e:o f(note: Tpin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here) * Step #21 - "compile-libfuzzer-address-x86_64": name##53_ | s t a c k _ a r r a y _ s i z e ]_;v a r - > o\p() Step #21 - "compile-libfuzzer-address-x86_64": ( v| 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": v2); Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h| :364 ^: Step #21 - "compile-libfuzzer-address-x86_64": 36: note: /src/brpc/src/bvar/detail/call_op_returning_void.h:in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here29: Step #21 - "compile-libfuzzer-address-x86_64": 12 : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | 364 | return op(v1, v2) get_interval_at(i).merge(*rhs._inter; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": vals[i]/src/brpc/src/bvar/detail/series.h):;168:13: Step #21 - "compile-libfuzzer-address-x86_64": |  ^note: Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/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": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | 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":  retur53n |  a p p e n d _ s ec o n d ( v a_lvuaer,- >_oop(p))(;v Step #21 - "compile-libfuzzer-address-x86_64": 1 ,| v ^2 Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h65:29 | : 12 :   note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 29 | _ s e rires.appene/src/brpc/src/bvar/detail/percentile.htd(_owner->g:e132:13urn op(v1, : v2); Step #21 - "compile-libfuzzer-address-x86_64": t_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64":  58 | SeriesSawarning: mpler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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_132 | stack_array_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": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/series.h:168:13:  note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _se DEries.append(_FINE_SMALL_ARRAY(uint32_towner->get_value(1)), tmp, rhs.; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": _num_sampl/src/brpc/src/bvar/window.h:58:9:es, 64 note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here); Step #21 - "compile-libfuzzer-address-x86_64": |  Step #21 - "compile-libfuzzer-address-x86_64": 58 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  SeriesS/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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":  426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); 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":  364 | /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here 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": 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/src/brpc/src/bvar/detail/percentile.h Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h:132:13: 499:12: warning: 132 |  Dnote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herevariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:EFINE_SMALL_ARRA Y132( | u i n t 3 2 _ t DEFINE, tmp,53:17: rhsnote: .in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here_n Step #21 - "compile-libfuzzer-address-x86_64": um_ 53 | _ s SM_var->op()(vamples, 64); Step #21 - "compile-libfuzzer-address-x86_64": 1, v2);A Step #21 - "compile-libfuzzer-address-x86_64": L L| _A ^R Step #21 - "compile-libfuzzer-address-x86_64": RA/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: Ynote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": (uin 426 | char name##_stack_array[sizeof(Tt3in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here2_t, t Step #21 - "compile-libfuzzer-address-x86_64": m 29 | return op,p(v1, rhs._nuv2);m_sampp) * len Step #21 - "compile-libfuzzer-address-x86_64": s, 64a);me Step #21 - "compile-libfuzzer-address-x86_64": # #| _s ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29/src/brpc/src/bvar/detail/series.h:: 168:13note: : expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": tacnote: k 426 | char name##_stack_array[siin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": _zeof(Tp) * name##_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 herea Step #21 - "compile-libfuzzer-address-x86_64": rr ay_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^364 Step #21 - "compile-libfuzzer-address-x86_64": |   : 161 : 1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_ get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": stack_array_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: |  ^ 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 | declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 425 | /src/brpc/src/bvar/window.h : 53 :17c:o nstnote:  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereun Step #21 - "compile-libfuzzer-address-x86_64": s igned n53a | m e # # _ st a c k _ a r r a y__vsairz-e> o=p (()n(avm1e,# #v_2s)i;ze Step #21 - "compile-libfuzzer-address-x86_64": <| = ^( Step #21 - "compile-libfuzzer-address-x86_64": maxsize) ?/src/brpc/src/bvar/detail/call_op_returning_void.h :n29a:m12e:# #_snote: izin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heree Step #21 - "compile-libfuzzer-address-x86_64": : 0);29 | \  Step #21 - "compile-libfuzzer-address-x86_64": | r ^ 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": eturn op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o 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": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: /src/brpc/src/bthread/task_control.cpp:599:5: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": warning:  151 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 599 | DEF _series_sINE_SMALaL_ARRAY(int, nmpumler = new s, ngrouSeriesSampler(this, _pvar); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": , 128); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: /src/brpc/src/bvar/latency_recorder.h:49:note: 7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64":  49 | expanded from macro 'DEFINE_SMALL_ARRAY'c Step #21 - "compile-libfuzzer-address-x86_64": las 426 | char nams LatencyRecorderBase e{ 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": stack_array[ 132 |  DsEFINE_SMALL_iAzRReAYo(fui(nTtp3)2 _t*, natmmep#,# _rshtsa.c_knum__asrarmapyl_essi,z e]6;4  ) ;  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:42: /src/brpc/src/bthread/task_control.cpp:note: 599:expanded from macro 'DEFINE_SMALL_ARRAY'5: Step #21 - "compile-libfuzzer-address-x86_64":  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 | 426 |  c hacrha rna mnea#m#e_#s#t_asctka_cakr_raaryr[ays[izseiozfeo(fTp()T p*) n*a mnea#m#e_#s#t_asctka_cakr_raaryr_asyi_zsei]z; e ] ; \  Step #21 - "compile-libfuzzer-address-x86_64": \ | Step #21 - "compile-libfuzzer-address-x86_64":  ^|  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": ::121164::11:: note: note: expanded from hereexpanded from here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_arr121a | yn_usmisz_esta Step #21 - "compile-libfuzzer-address-x86_64": c k| _a^r Step #21 - "compile-libfuzzer-address-x86_64": ray_s/src/brpc/src/bvar/detail/percentile.hi:ze Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 132:13: /src/brpc/src/bthread/task_control.cpp:599note: :5declared here: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:note: 425declared here Step #21 - "compile-libfuzzer-address-x86_64": :20:/src/brpc/src/butil/macros.h :425:note: 20:expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const 425u | n s i g necdon sntam e#u#n_ssitgancekd_a rnraamye_#siz#e_ s=t ack_a(rnrIn file included from /src/brpc/src/bthread/mutex.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:a26m: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: ay_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": efirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]# Step #21 - "compile-libfuzzer-address-x86_64": #_size <= (maxsize) ? name289# | # _ s i z e : me0ms)e;t (\t Step #21 - "compile-libfuzzer-address-x86_64": h i| s ^, Step #21 - "compile-libfuzzer-address-x86_64": 0, :s117i:z1e:o f/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": (*this )317) | ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  FixedHeadnote: AndValue 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 expressionexpanded from here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp 117 | nums_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": :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/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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": :164:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 164 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :160:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 160 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :193:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 193 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp: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 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:tm warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": p[cur_bat 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": c/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested hereh]; 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 | Step #21 - "compile-libfuzzer-address-x86_64": { 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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": add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /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 here2 Step #21 - "compile-libfuzzer-address-x86_64": 65 | warnings generated. 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": :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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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 2= new Se warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 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 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | charnote: name##_stack_array[sizeof(Tp) * name##_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": expanded from macro 'DEFINE_SMALL_ARRAY' 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: 426 | note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herech Step #21 - "compile-libfuzzer-address-x86_64": 53 | ar _ name##_stacvkar->_array[sizeof(Tp)o p(* )n(avm1e,# #v_2s)t;ack Step #21 - "compile-libfuzzer-address-x86_64": _ |  ^ Step #21 - "compile-libfuzzer-address-x86_64": array_size]; /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_ \ 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: onote: p_returning_vdeclared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const oid(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | returnunsigned name##_stack_array_size = (name# append_second(val#ue, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": _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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/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":  | 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": (void*)98 | Step #21 - "compile-libfuzzer-address-x86_64":  take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.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": :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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. 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/prometheus_metrics_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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 | [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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); 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": 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: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/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": :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": /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": [ 64%] 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/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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_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/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": 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": /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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_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]; 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": | : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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": /src/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 | get_i n t e memrvasl_atet(this, (i).me0, sizeofrge(*rh(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": s/src/brpc/src/bvar/detail/sampler.h:40:16._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": : note: |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.hin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here: Step #21 - "compile-libfuzzer-address-x86_64": 499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 499 | Sample() : data(), t | ime_us(0) { b1}.merge(b2); 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": |  ^ 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": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample< T> tmp;53 |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   _v/src/brpc/src/bvar/detail/sampler.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": ar->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": 98 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12:  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:29529 | : 28 : note: rein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heretur Step #21 - "compile-libfuzzer-address-x86_64": n  op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": 529 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/detail/series.h : 168_:s13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereampler = new sampler_ty Step #21 - "compile-libfuzzer-address-x86_64": pe(this); Step #21 - "compile-libfuzzer-address-x86_64": | 168 ^ | Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:289:16: note: call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memsappend_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": | et(this, 0, sizeof(*th ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereis)); 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": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": 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 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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_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:array289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": _si 289 | memsze]et(this, 0, si;z eof(*t h 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":  Step #21 - "compile-libfuzzer-address-x86_64": | 40 |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Sample() 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": 219 | tmp_s 116 | Samtacple tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": _/src/brpc/src/bvar/detail/sampler.h:98ar:9: ranote: 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": y_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/viz_min_js.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/vlog_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | 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: 27DEFINE_SMAL: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.hL:_ARRAY(uint3282_t, tmp, rhs._num_sam: Step #21 - "compile-libfuzzer-address-x86_64": In file 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 | memsetples, 64)(this, 0,; sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h| :40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sa ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": mpl/src/brpc/src/butil/macros.h:426:29: e()note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": : d 426 | char name##ata(), _stack_array[timsizeofe_(Tp) * name##_staus(ck_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: 0in 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 Step #21 - "compile-libfuzzer-address-x86_64": :12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": |  ^ 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": /src/brpc/src/bvar/detail/sampler.h 53 | _var->op()(v:1161, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :23/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": : 29 | return op(vnote: 1, in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": v2); Step #21 - "compile-libfuzzer-address-x86_64": |  116 | ^ Sampl Step #21 - "compile-libfuzzer-address-x86_64": e tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-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": 168 | call_op_returning_ 98 | void(op, t take_sample()mp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": ;|  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h/src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here:116:16: note:  Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here 529 | Step #21 - "compile-libfuzzer-address-x86_64": _sampler 116 | return a= ppennedw_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 |  sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   _series.append(_owner->g/src/brpc/src/bvar/detail/percentile.he:t289_va:l16ue(: 1note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": ) );289 Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  memset/src/brpc/src/bvar/window.h(:58t:h9i:s ,note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here0 Step #21 - "compile-libfuzzer-address-x86_64": , size of58 | ( *  t h iSser)i)e;sS Step #21 - "compile-libfuzzer-address-x86_64": a m| pl ^e Step #21 - "compile-libfuzzer-address-x86_64": r( W| in (void*)d Step #21 - "compile-libfuzzer-address-x86_64": owBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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/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": :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/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.In file included from _in/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 t/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(thiervals[is, 0, sizeof(]);* Step #21 - "compile-libfuzzer-address-x86_64": | t ^ Step #21 - "compile-libfuzzer-address-x86_64": his)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: /src/brpc/src/bvar/detail/percentile.h:132:13in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here: warning:  Step #21 - "compile-libfuzzer-address-x86_64":  499/src/brpc/src/bvar/detail/sampler.h: | 40 :16: note:  b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 53 | in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": _ v 40 | Sample() : data(), time_ar-us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:>13223:  | onote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #21 - "compile-libfuzzer-address-x86_64": DEF 116INE | _SMALL_ARRAYp( ( ) Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^uint32_t(v Step #21 - "compile-libfuzzer-address-x86_64": , t/src/brpc/src/bvar/detail/sampler.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": m198, v2)p, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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_ | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _darray[satizeof(Tp)a.sec *ond(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBas name##_stack_array_size];e * \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": own:240:1: note: erexpanded from here, Step #21 - "compile-libfuzzer-address-x86_64": R* 240 | vtmp_stack_ararra)y_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h | :132 ^: Step #21 - "compile-libfuzzer-address-x86_64": 13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35425 | const unsigned name##_stack_array_size = (name##_size <= : (maxsinote: ze) ? 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": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested 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":  151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 12 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.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(_oIn 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": w n289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": e 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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 | r-> g e t _ vtaalkuee_(sa1mp)l)e;() Step #21 - "compile-libfuzzer-address-x86_64": ; |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' 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:529:28:58 |   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": SeriesSampler(W529 | indowBase* o w n e r , _Rs*a mvpalre)r Step #21 - "compile-libfuzzer-address-x86_64": = | n ^e Step #21 - "compile-libfuzzer-address-x86_64": w sam/src/brpc/src/bvar/window.hp:l151e:35r:_ typnote: e(in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereth Step #21 - "compile-libfuzzer-address-x86_64": i s); Step #21 - "compile-libfuzzer-address-x86_64": |  ^151 Step #21 - "compile-libfuzzer-address-x86_64": |   _series_sampler = new SeriesSampl/src/brpc/src/bvar/detail/percentile.he:r289(:16: note: explicitly cast the pointer to silence this warningth Step #21 - "compile-libfuzzer-address-x86_64": i s, _var289) | ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": memset(/src/brpc/src/bvar/latency_recorder.h:t49h:i7s:, 0note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here, Step #21 - "compile-libfuzzer-address-x86_64": siz49e | ofcl(a*ssthi sLat)e)n;cy Step #21 - "compile-libfuzzer-address-x86_64": R| eco ^r Step #21 - "compile-libfuzzer-address-x86_64": de | rB (void*)a Step #21 - "compile-libfuzzer-address-x86_64": se { 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.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": :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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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/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": get_interval_at(i).merge( *132r | h s . _ i n t e r v a l sD[EiF]I)N;E_ Step #21 - "compile-libfuzzer-address-x86_64": S M| AL ^L Step #21 - "compile-libfuzzer-address-x86_64": _ARRAY(/src/brpc/src/bvar/detail/percentile.hu:i499n:t123:2 _t,note: tin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heremp Step #21 - "compile-libfuzzer-address-x86_64": , rhs._num_samples, 6 4499 | ) ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": b1.merg/src/brpc/src/butil/macros.he:(426b:229):;  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": /src/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 | 426 |  c h a r  n a m_ev#a#r_-s>toapc(k)_(avr1r,a yv[2)s;iz Step #21 - "compile-libfuzzer-address-x86_64": e o| f ^( Step #21 - "compile-libfuzzer-address-x86_64": Tp) * na/src/brpc/src/bvar/detail/call_op_returning_void.hm:e29#:#12_:s tacnote: k_in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herear Step #21 - "compile-libfuzzer-address-x86_64": ray_size] ;29 | \re Step #21 - "compile-libfuzzer-address-x86_64": t u| rn ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": op(v1, v/src/brpc/src/bvar/detail/percentile.h2:)364;:36 Step #21 - "compile-libfuzzer-address-x86_64": : |  ^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": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168364 | | c a l l _goept__rienttuerrnvianlg__avto(iid)(.ompe,r gtem(p*,r h_sd.a_tian.tseercvoanld(s[i])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: )); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | 116 | b 1 . m e rgreeturn( ba2p)p;en Step #21 - "compile-libfuzzer-address-x86_64": d _| second(value, ^_ Step #21 - "compile-libfuzzer-address-x86_64": op); Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/window.h: ^53 Step #21 - "compile-libfuzzer-address-x86_64": :17: /src/brpc/src/bvar/window.hnote: :65in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here:25 Step #21 - "compile-libfuzzer-address-x86_64": : note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | 65 | _ v a r - > o_ps(e)r(ive1s,. av2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^p Step #21 - "compile-libfuzzer-address-x86_64": pend(_ow/src/brpc/src/bvar/detail/call_op_returning_void.hn:e29r:->get_v12a:l ue(note: 1in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here)); Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": | 29 | return op(v1, v2 ^); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | 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/window.h:58:9/src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here 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": 116 | return append_sec on58 | d (value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h :65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | Se _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ri/src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": esS58a | m p SeriesSampler(WindowBase*le owner, R* var(r)WindowBase* owner, R* 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/window.h:151|  ^:35: note:  Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here/src/brpc/src/bvar/window.h Step #21 - "compile-libfuzzer-address-x86_64": :151: 15135: |  note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #21 - "compile-libfuzzer-address-x86_64": _series_151s | a m pler =  n ew  S e r_iseesrSiaems_pslaemr(ptlerhis =, _nvare)w; Step #21 - "compile-libfuzzer-address-x86_64": S | er ^i Step #21 - "compile-libfuzzer-address-x86_64": esSamp/src/brpc/src/bvar/latency_recorder.hl:er(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": | 49:7: note:  ^in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:749 | cl:a ssnote: Latin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereen Step #21 - "compile-libfuzzer-address-x86_64": cyR ecorde49r | Basclases { Step #21 - "compile-libfuzzer-address-x86_64": | La ^t Step #21 - "compile-libfuzzer-address-x86_64": encyRecorde/src/brpc/src/bvar/detail/percentile.hrB:a132:13:s e { 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": 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 | 132D | E F I N E _S M A L L _DAERFRIANYE(_uSiMnAtL3L2_t_,A tRmp,R ArYhs._num_sa(uimpnlte3s, 2_t,6 4tmp,) ;r Step #21 - "compile-libfuzzer-address-x86_64": h| s. ^_ Step #21 - "compile-libfuzzer-address-x86_64": num/src/brpc/src/butil/macros.h_:sam426p:42:l es,note: expanded from macro 'DEFINE_SMALL_ARRAY'64 Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 426 |  /src/brpc/src/butil/macros.h :426: 42:c harnote:  nexpanded from macro 'DEFINE_SMALL_ARRAY'ame##_stack_a Step #21 - "compile-libfuzzer-address-x86_64": rray[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": | 426 | ^ Step #21 - "compile-libfuzzer-address-x86_64":   :char name##_sta219:1ck_ar:r aynote: [expanded from heres Step #21 - "compile-libfuzzer-address-x86_64": izeof(Tp219) | tm p*_ stnaacme##k__satrackr_aaryr_asy_siizze Step #21 - "compile-libfuzzer-address-x86_64": e| ^] Step #21 - "compile-libfuzzer-address-x86_64": ;  /src/brpc/src/bvar/detail/percentile.h : 132\:13: Step #21 - "compile-libfuzzer-address-x86_64":  | note:  ^ Step #21 - "compile-libfuzzer-address-x86_64": declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425::20219: :note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned na 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": me##_stack_ar| ray_^s Step #21 - "compile-libfuzzer-address-x86_64": ize =/src/brpc/src/bvar/detail/percentile.h :(132n:a13m: e##note: _sdeclared hereiz Step #21 - "compile-libfuzzer-address-x86_64": e/src/brpc/src/butil/macros.h :<425:=20: (mnote: axsiexpanded from macro 'DEFINE_SMALL_ARRAY'ze) Step #21 - "compile-libfuzzer-address-x86_64": ? name##_size : 0 425 | c); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1o: nstnote: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": unsigned  na215m | tem##_ps_tsatack_arrckay_siz_ear Step #21 - "compile-libfuzzer-address-x86_64": ra| y_^s Step #21 - "compile-libfuzzer-address-x86_64": ize = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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 | ret2urn warningappend_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": s generated. Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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_s[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": ize Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :46:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 46 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 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": :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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/tcmalloc_extension.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/sampler.h:/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 | 98 :9:   note: mein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herems Step #21 - "compile-libfuzzer-address-x86_64": et(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23 98: | note: take_sampin instantiation of member function 'bvar::detail::Sample>::Sample' requested herele() Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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; Step #21 - "compile-libfuzzer-address-x86_64": =|  ^ Step #21 - "compile-libfuzzer-address-x86_64":  new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/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": 2 warning| s generated ^. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-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 #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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": , v2); 426 Step #21 - "compile-libfuzzer-address-x86_64": | | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; ^ Step #21 - "compile-libfuzzer-address-x86_64":  \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h/src/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": :168:13 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": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here 168 | Step #21 - "compile-libfuzzer-address-x86_64": call_op_re 168tu | rni ng_ vo call_op_returningid_void((op,o tmp, tmp, _p, _datad.asecond(i));ta Step #21 - "compile-libfuzzer-address-x86_64": | .s ^ Step #21 - "compile-libfuzzer-address-x86_64": econd(i))/src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": 116 | | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": 65 |  _ser/src/brpc/src/bvar/detail/series.h:i116es.appen:d(_owner16:->get_value( note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here1)); 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": :58:9:  116note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here | Step #21 - "compile-libfuzzer-address-x86_64": return 58 | SeriesSamapler(WindowBase* owner, R*p pend_svar) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": e/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | c _series_sampler = neown SedriesS(amvplear(tlhis, _vaur); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": e, _op);/src/brpc/src/bvar/latency_recorder.h Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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_arr/src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* ownaeyr[, sRi*z evoafr)( Step #21 - "compile-libfuzzer-address-x86_64": T p| ) * ^ Step #21 - "compile-libfuzzer-address-x86_64": name#/src/brpc/src/bvar/window.h#:_151s:t35a:c k_arraynote: _sin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereiz Step #21 - "compile-libfuzzer-address-x86_64": e ]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 151 |  : 229 : 1 :  _note: seexpanded from herer Step #21 - "compile-libfuzzer-address-x86_64": i es_sampler =229 | tnmepw_s tSaecrkiesSampler(this, _va_r)a;rr Step #21 - "compile-libfuzzer-address-x86_64": a y| _s ^i Step #21 - "compile-libfuzzer-address-x86_64": ze 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/detail/percentile.h:132note: :13in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": : note: declared here49 Step #21 - "compile-libfuzzer-address-x86_64": | c/src/brpc/src/butil/macros.hla:s425s:20 :L atnote: enexpanded from macro 'DEFINE_SMALL_ARRAY'cy Step #21 - "compile-libfuzzer-address-x86_64": R ecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13425: |   note: initializer of 'tmp_stack_array_size' is not a constant expressionco Step #21 - "compile-libfuzzer-address-x86_64": n st unsigned name132# | # _ s t a c k _ a r r a yD_EsFiIzNeE _=S MA(LnLa_mAeR#R#A_Ys(iuzien t<=3 2(_mtaxsiz,e )t m?p ,n armhes#.#__nsuimz_es : 0a)m;p l\es Step #21 - "compile-libfuzzer-address-x86_64": , | 6 ^4 Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": :| 225: ^1 Step #21 - "compile-libfuzzer-address-x86_64": : note: /src/brpc/src/butil/macros.h:expanded from here426: Step #21 - "compile-libfuzzer-address-x86_64": 42 : note: expanded from macro 'DEFINE_SMALL_ARRAY' 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": 426 | 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(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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/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": [ 72%] 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: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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]; 2\ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": warnings generatedIn 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/src/brpc/src/bvar/detail/percentile.h:); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 364. 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": :36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples,In file included from /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 | m 64); Step #21 - "compile-libfuzzer-address-x86_64": | emset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40/src/brpc/src/butil/macros.h:426: | 42:  note: expanded from macro 'DEFINE_SMALL_ARRAY' Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116 Step #21 - "compile-libfuzzer-address-x86_64": :23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98: 426 | cha9r:  namnote: 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": e 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ##/src/brpc/src/bvar/detail/percentile.h_:s529t:a28c:k _arnote: rain instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herey Step #21 - "compile-libfuzzer-address-x86_64": [sizeof( T529p | ) * name # _#_stack_arsraamyp_lsize];e \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": r = :229:1: new samnote: pler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^expanded from here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  229 | tmp/src/brpc/src/bvar/detail/percentile.h_:289:16:stack_array_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": 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": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :225:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 225 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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/builtin/status_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :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": 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeo2f(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.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/src/brpc/src/bvar/detail/percentile.h:132:13:* v warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": ar) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: 132 | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": DE 151 | F I NE_SMALL_ARRA Y(uint32_t, tm _spe,r ies_sampler = new SerierhssSam._pler(tnum_samples, his, 64); 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/butil/macros.h:426:29:  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:note: 49:expanded from macro 'DEFINE_SMALL_ARRAY'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": 49 | cla426 | chss 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": ar name##_stack_array[sizeof(Tp) * name##_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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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": /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": In file included from /src/brpc/src/brpc/cluster_recover_policy.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": 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": 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": [ 75%] 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": [ 75%] 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/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 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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_size2 warnings generated. 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:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/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": 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": 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/details/naming_service_thread.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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##/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": _sta 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ck_array_si 426 | char name#z#e];_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h \ Step #21 - "compile-libfuzzer-address-x86_64": :364:|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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": 36 364: note:  | in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": get_interval_at(i).merge(*rh s364. | _ i n terv a ls [ i ] ) ;  Step #21 - "compile-libfuzzer-address-x86_64": | g ^e Step #21 - "compile-libfuzzer-address-x86_64": t_int/src/brpc/src/bvar/detail/percentile.he:r499v:al_12a:t (i)note: .min instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereerge( 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: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": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :33:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 33 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :29:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 29 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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: 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.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/crc32c_checksum.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 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:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :16:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 16 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :12:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 12 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/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(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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_arra[ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": y_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 532 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :137:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 137 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :133:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 133 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/giano_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": 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/hulu_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": get_interval_at(i).merge(*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/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": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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:  168 | in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here  Step #21 - "compile-libfuzzer-address-x86_64": call_op_re 364 | t u rning_void( geop,t_in tmp, _dterval_at(ia).merge(*rhs._intervaltsa[.is]e)c;o Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:n12d:( inote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": )) 499 | ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  b1.mer/src/brpc/src/bvar/detail/series.h:116:16: ge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17note: :in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 |  Step #21 - "compile-libfuzzer-address-x86_64": _v ar->op()116( | v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12:  retnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29urn | app retendurn op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here_ Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:second(v16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | alue, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here/src/brpc/src/bvar/window.h:65:25 Step #21 - "compile-libfuzzer-address-x86_64": : note:  65 | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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]; _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase * owner, R* va r )  Step #21 - "compile-libfuzzer-address-x86_64": \ Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35 ^: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64":  151 | : _series_sampler = 185new :SeriesSampl1e: r(tnote: hexpanded from hereis,  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/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": 185 132 | | t m pDEFI_stack_NE_SMAaLL_ARRAYrr(ay_suint32_t, tmp, rizhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": e Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 426 |  /src/brpc/src/bvar/detail/percentile.h :132:13: note: declared herechar n Step #21 - "compile-libfuzzer-address-x86_64": ame##_s/src/brpc/src/butil/macros.ht:a425ck_array:20[: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": sizeof(Tp) * name##_s 425tack_ | array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": | cons ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": t unsigned name##_s 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": tack_arr 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0a)y; _si\z 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": e = (name##_size <= (m ax157s | tize) mp? n_satack_armray_sizee# Step #21 - "compile-libfuzzer-address-x86_64": # | _^ Step #21 - "compile-libfuzzer-address-x86_64": 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/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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/parallel_channel.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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": :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": 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": [ 83%] 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/nshead_pb_service_adaptor.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :162:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 162 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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 | 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": char name##_stack_array[sizeof(Tp) * name##_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": [ 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": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": 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": :183:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 183 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :179:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 179 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DE[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": FINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_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/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": :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": /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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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": /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": In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o 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": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, t/src/brpc/src/bvar/detail/percentile.h:132:13:mp, rh warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]s._num_samples, 64 Step #21 - "compile-libfuzzer-address-x86_64": ); 132 | DE Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.hFI:426:42: note: Nexpanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": E_SMA 426LL_ARRAY(uint32 | cha_t, tmp, r name##_stack_array[sizeofrhs._(Tp)num * name##_stack_array_size]; _ \samp Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": l:161:1:es,  note: expanded from here6 Step #21 - "compile-libfuzzer-address-x86_64": 4); Step #21 - "compile-libfuzzer-address-x86_64": 161 | | t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~m Step #21 - "compile-libfuzzer-address-x86_64": p_stac/src/brpc/src/butil/macros.hk:_426a:r29r:a y_sizenote:  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:132:13: 426note: declared here Step #21 - "compile-libfuzzer-address-x86_64":  | /src/brpc/src/butil/macros.h : 425 : 20:c harnote:  expanded from macro 'DEFINE_SMALL_ARRAY'na Step #21 - "compile-libfuzzer-address-x86_64": m e##_stack_array[sizeof(Tp)425 | * n a mec#o#n_sstta cku_nasrriagyn_esdiz en]a;m e #\#_ Step #21 - "compile-libfuzzer-address-x86_64": s t| ac ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~k Step #21 - "compile-libfuzzer-address-x86_64": _array_si/src/brpc/src/bvar/detail/percentile.hz:e364 :=36 :( namnote: e#in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here#_s Step #21 - "compile-libfuzzer-address-x86_64": i ze <= (maxsize) ? nam364e | # # _ s i z e :  0  ) ; \ge Step #21 - "compile-libfuzzer-address-x86_64": t _| in ^t Step #21 - "compile-libfuzzer-address-x86_64": erval:_157a:t1(:i ).mnote: erexpanded from herege Step #21 - "compile-libfuzzer-address-x86_64": ( *rhs._in157t | etrmvpa_lsst[aick_a]rr)a;y_ Step #21 - "compile-libfuzzer-address-x86_64": s i| ze ^ 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.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ 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_s2amples, 64); Step #21 - "compile-libfuzzer-address-x86_64": warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:30: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() /src/brpc/src/bvar/detail/percentile.h:132:13: data(), t: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": ime_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-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 #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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":  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": 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": /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 | cons[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": t unsigned 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 | 2 warnings generated . Step #21 - "compile-libfuzzer-address-x86_64": _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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));[ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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 In file included from /src/brpc/src/brpc/policy/esp_protocol.cppname##_stack_array[sizeof:(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h::22337:1: note: : 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": expanded from here Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h 223 | tmp_stack:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file 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": _array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  289/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: memset(this, 0425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY', sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40 425 | cons:t unsi16: gned 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": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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/ubrpc2pb_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": :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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /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": 292 warnings generated. 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/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_arra y_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": char name##_s/src/brpc/src/bvar/detail/percentile.h:364tack_array[sizeof(Tp) * na:me##_stack_a36rray_size]; :  \ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 364 | 223 | tmp_ s ta ck_arra y_ size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  get_interval_at(i).merge(*rhs._i/src/brpc/src/bvar/detail/percentile.hn: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't Step #21 - "compile-libfuzzer-address-x86_64": ervals[i]) 425 | co;ns Step #21 - "compile-libfuzzer-address-x86_64": t unsigned  name#| #_ ^st Step #21 - "compile-libfuzzer-address-x86_64": ack_array_size = (name##_size <= (maxsize) ? name##_size : 0);/src/brpc/src/bvar/detail/percentile.h: \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^499 Step #21 - "compile-libfuzzer-address-x86_64": :219::12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here1: 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":  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);2 warnings generated. 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: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return 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": a 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": pp/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": end_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:[ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :40:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 40 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :36:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 36 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": /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/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 | DEF/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]I Step #21 - "compile-libfuzzer-address-x86_64": NE 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": _S 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:M12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": AL 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": L|  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here_AR Step #21 - "compile-libfuzzer-address-x86_64": R AY(uin168t | 32 _ t , tmp , rh s._ n um_sample casl,l _o6p4_retu)r;ni Step #21 - "compile-libfuzzer-address-x86_64": | ng ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ Step #21 - "compile-libfuzzer-address-x86_64": vo/src/brpc/src/butil/macros.hid:(op426,: 29:t mpnote: , expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": _ data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 426 | /src/brpc/src/bvar/detail/series.hc:h116a:r16: namnote: e#in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here#_s Step #21 - "compile-libfuzzer-address-x86_64": t ack_array[116 | s i z e o f  ( Tpr)e t*u rnname #a#p_psetnadc_ks_eacrornady(_vsailzuee],; _ o p ) \; Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364/src/brpc/src/bvar/window.h::3665:: 25: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herenote:  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 | 364 | _ s e r i e s. a gpepte_nidn(t_eorwvnaelr_-at>(gie)t._mvearlguee((*r1hs).)_int;er Step #21 - "compile-libfuzzer-address-x86_64": v a| ls ^[ Step #21 - "compile-libfuzzer-address-x86_64": i]); Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h :| 58: ^9 Step #21 - "compile-libfuzzer-address-x86_64": : note: /src/brpc/src/bvar/detail/percentile.h:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here499: Step #21 - "compile-libfuzzer-address-x86_64": 12 : note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here58 | Step #21 - "compile-libfuzzer-address-x86_64": Series499S | a m p l e r ( W ibn1d.omweBragsee(*b 2o)w;ne Step #21 - "compile-libfuzzer-address-x86_64": r ,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": R| * 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": v 40 | Sample() : data(), time_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": r) 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-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": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64":  529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: /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": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | c151all_o | _series_samplep_rerturning_void (= op,new SeriesS tmp, _data.seampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": cond(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderB ase116 { |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": return a/src/brpc/src/bvar/detail/percentile.hp:pen132d:_13s:e conote: ndinitializer of 'tmp_stack_array_size' is not a constant expression(va Step #21 - "compile-libfuzzer-address-x86_64": l ue, _op)132; |  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  DEFINE_SMA/src/brpc/src/bvar/window.hL:L65:_25A:R Rnote: AYin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here(u Step #21 - "compile-libfuzzer-address-x86_64": int 32_t,65 | t m p , r h s ._n u m_ s a m p l_esse,r ies6.4ap)p;end( Step #21 - "compile-libfuzzer-address-x86_64": _ o| wner ^- Step #21 - "compile-libfuzzer-address-x86_64": >ge/src/brpc/src/butil/macros.ht:_va426:l42u:e (note: 1expanded from macro 'DEFINE_SMALL_ARRAY') Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": 426 | |  ^ Step #21 - "compile-libfuzzer-address-x86_64": char n/src/brpc/src/bvar/window.hame:58#:#9_:s tacnote: kin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here_ar Step #21 - "compile-libfuzzer-address-x86_64": r ay[si58ze | o f  ( T p ) *S enraimees#S#a_msplert(aWindocwkB_aasrer*a yo_wsniezre,] ;R * v a r )\ 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::110151::135::  note: note: expanded from herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 110 | t151m | p _ s t a c k _ a r r a y__sseirziees Step #21 - "compile-libfuzzer-address-x86_64": _ s| am^p Step #21 - "compile-libfuzzer-address-x86_64": ler =/src/brpc/src/bvar/detail/percentile.h :132n:e13w: Serienote: sSdeclared heream Step #21 - "compile-libfuzzer-address-x86_64": pler/src/brpc/src/butil/macros.h(:425t:h20i: s,note: _expanded from macro 'DEFINE_SMALL_ARRAY'va Step #21 - "compile-libfuzzer-address-x86_64": r ); Step #21 - "compile-libfuzzer-address-x86_64": | 425 | ^ Step #21 - "compile-libfuzzer-address-x86_64":   co/src/brpc/src/bvar/latency_recorder.hn:s49t:7 : unsnote: igin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herene Step #21 - "compile-libfuzzer-address-x86_64": d  na49m | e#c#l_assts Laactke_nacryrRaeyc_osridzeer B=a s(en a{me Step #21 - "compile-libfuzzer-address-x86_64": # #| _s ^i Step #21 - "compile-libfuzzer-address-x86_64": ze <= /src/brpc/src/bvar/detail/percentile.h(:m132a:x13s:i ze)note: ?initializer of 'tmp_stack_array_size' is not a constant expression n Step #21 - "compile-libfuzzer-address-x86_64": a me##_size :132 |  0  ) ; \ Step #21 - "compile-libfuzzer-address-x86_64": DEFI N| E_S ^M Step #21 - "compile-libfuzzer-address-x86_64": ALL_A:R106R:A1Y:( uinnote: t3expanded from here2_ Step #21 - "compile-libfuzzer-address-x86_64": t , tmp,106 | rthmsp.__sntuamc_ks_aamrray_pslesi,z e6 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/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": Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": /src/brpc/src/butil/macros.h:426: 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: 42: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' 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": Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase {426 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 | c DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": h:223:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": ar 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": na 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": me##_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/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": 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/nshead_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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": 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 unsigned 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/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": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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,/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": v2 132 | DEFINE_SMALL_ARRA)Y;(uint32_t Step #21 - "compile-libfuzzer-address-x86_64": , |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: tmpnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": , 29 | retur rn op(v1, v2);h 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": _num_s a168m | p l e s ,  6c4al)l;_o Step #21 - "compile-libfuzzer-address-x86_64": p _| returning_void(op, t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~m Step #21 - "compile-libfuzzer-address-x86_64": p, _da/src/brpc/src/butil/macros.ht:a426.:s29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": econd(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 426 | char na/src/brpc/src/bvar/detail/series.hme##_stack_arr:ay[sizeof(Tp116:16: ) * namnote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": e 116## | re_stack_arrayturn_size];  \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36:a pnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": pend_seco n364 | d ( get_interval_2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": at(i).merge(*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:12v:alue, _ op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ 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": 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 | _se/src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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_SMALrLies.app_ARReAnd(_owneY(uint3r2-_>tg,e tt_mvpa,l ureh(s.1_n)u)m;_s Step #21 - "compile-libfuzzer-address-x86_64": a m| pl ^e Step #21 - "compile-libfuzzer-address-x86_64": s, 64/src/brpc/src/bvar/window.h:)58;:9 Step #21 - "compile-libfuzzer-address-x86_64": : |  ^note: Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h :426:42: 58 | note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": SeriesSampler(WindowBas426 | e * o wncehrar, R *n avmaer#)#_ Step #21 - "compile-libfuzzer-address-x86_64": s t| ac ^k Step #21 - "compile-libfuzzer-address-x86_64": _array/src/brpc/src/bvar/window.h:151:35: [sizenote: ofin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here( Step #21 - "compile-libfuzzer-address-x86_64": T p) * name#151# | _ s t a c k _ a r r a y_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": | _series_s ^a Step #21 - "compile-libfuzzer-address-x86_64": mpler: 189=: 1new: Snote: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 189 | tmp_seriesSampler(thitsac,k_arra _vayr_)s;iz Step #21 - "compile-libfuzzer-address-x86_64": e | Step #21 - "compile-libfuzzer-address-x86_64":  ^| Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13/src/brpc/src/bvar/latency_recorder.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: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": lass LatencyRecor/src/brpc/src/butil/macros.h:425:20: denote: rBexpanded from macro 'DEFINE_SMALL_ARRAY'as Step #21 - "compile-libfuzzer-address-x86_64": e { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: 425 | note:  initializer of 'tmp_stack_array_size' is not a constant expression  Step #21 - "compile-libfuzzer-address-x86_64":  const unsign132e | d name## _ s t a c k _DaErFIrNaEy__SsMiAzLeL _=ARRAY( (name##u_isnizte3 2<_=t ,( tmmapx,s irzhes). _? name##num_sampl_essi,z e :6 40);); 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": :185:1: /src/brpc/src/butil/macros.h:426:42: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_snote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | tack_arr a y _scizhear Step #21 - "compile-libfuzzer-address-x86_64":  | name##_s^tack_array[ Step #21 - "compile-libfuzzer-address-x86_64": sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": /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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /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 here2 Step #21 - "compile-libfuzzer-address-x86_64": 65 | warnings generated _. Step #21 - "compile-libfuzzer-address-x86_64": series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /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: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 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(uint 132 | DEFINE_SMALL_ARRAY(uint32_3t, tmp, 2_trhs._, num_tsamples, 64)mp;, rhs._num_sample Step #21 - "compile-libfuzzer-address-x86_64": s, |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 64/src/brpc/src/butil/macros.h):426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name | ##_stack_array[sizeof(Tp) * name## ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_s Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: tanote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": c 426k_ | array_size] char name##; _stack_array[s\iz Step #21 - "compile-libfuzzer-address-x86_64": e| of ^ Step #21 - "compile-libfuzzer-address-x86_64": (Tp) :*219 :n1a:m e##note: _sexpanded from hereta Step #21 - "compile-libfuzzer-address-x86_64": c k_array_219s | itzmep]_;s t a c k _ a\rr Step #21 - "compile-libfuzzer-address-x86_64": a y| _s ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~i Step #21 - "compile-libfuzzer-address-x86_64": ze Step #21 - "compile-libfuzzer-address-x86_64": | ^/src/brpc/src/bvar/detail/percentile.h Step #21 - "compile-libfuzzer-address-x86_64": :364:36:/src/brpc/src/bvar/detail/percentile.h :132:note: 13:in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20:364 |   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": 425 | g e t _ intervcaoln_satt( i)u.nmseirggnee(d*r hnsa.m_ei#n#t_estarcvka_lasr[riay]_)s;i Step #21 - "compile-libfuzzer-address-x86_64": z e| = ^ ( Step #21 - "compile-libfuzzer-address-x86_64": name##_/src/brpc/src/bvar/detail/percentile.hs:iz499e: 12:< = (note: main instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herexs Step #21 - "compile-libfuzzer-address-x86_64": i ze) ? name##499_ | s i z e :  0b1).;m er\ge Step #21 - "compile-libfuzzer-address-x86_64": ( b| 2); ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: /src/brpc/src/bvar/window.h:note: 53:expanded from here17: Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 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": | 2 ^ Step #21 - "compile-libfuzzer-address-x86_64":  warning:219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": s generated. 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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/rtmp_protocol.cpp:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 1570 | char buf[header_len]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 91%] 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": 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": |  ^/src/brpc/src/bvar/detail/percentile.h:132:13: warning:  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":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": /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": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :188:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 188 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :184:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 184 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": /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/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": 4 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/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, 2 warnings generated. 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/stream.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/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 | 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": :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/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :182:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 182 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :178:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 178 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rpc_dump.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": :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": /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": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 398 | CallId ids[_nalloc]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #21 - "compile-libfuzzer-address-x86_64": 3 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": /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": 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": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :84:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 84 | rbsp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :80:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 80 | rbsp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :14:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 14 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :10:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 10 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 2003 | char buf[fullname_len]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 2000 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. 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": :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/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": /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/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": 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": In file included from /src/brpc/src/brpc/stream.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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": 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/server.cpp:36: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": :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": /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": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning:  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]425 | Step #21 - "compile-libfuzzer-address-x86_64": const unsigned 132n | a m e # # _ s t a c k _ aDrErFaIyN_Es_iSzMeA L=L _(AnRaRmAeY#(#u_isnitz3e2 _::426178::291:: note: note: expanded from macro 'DEFINE_SMALL_ARRAY'expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 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": 426 | char name##_stack_array[sizeof(Tp) * name##_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": 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": :9:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 9 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :5:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 5 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :25:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 25 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :21:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 21 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 4 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 7 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_butil Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_hpack Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_hpack Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 97%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_json Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_json Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [100%] Linking CXX executable fuzz_redis Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target fuzz_redis Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target brpc-static-debug Step #21 - "compile-libfuzzer-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/tmpa1snw_xs/fuzz_json Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_shead Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_butil Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_esp Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_redis Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_hpack Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_http Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_hulu Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_uri Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa1snw_xs/fuzz_sofa Finished Step #22 - "build-check-libfuzzer-address-x86_64" Starting Step #23 Step #23: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #23 Starting Step #24 Step #24: Already have image: gcr.io/oss-fuzz/brpc Step #24: adding: fuzz_butil (deflated 67%) Step #24: adding: fuzz_butil_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_esp (deflated 66%) Step #24: adding: fuzz_hpack (deflated 67%) Step #24: adding: fuzz_hpack_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_http (deflated 66%) Step #24: adding: fuzz_http_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_hulu (deflated 66%) Step #24: adding: fuzz_json (deflated 67%) Step #24: adding: fuzz_json_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_redis (deflated 67%) Step #24: adding: fuzz_redis_seed_corpus.zip (stored 0%) Step #24: adding: fuzz_shead (deflated 66%) Step #24: adding: fuzz_sofa (deflated 66%) Step #24: adding: fuzz_uri (deflated 66%) Step #24: adding: fuzz_uri_seed_corpus.zip (stored 0%) Step #24: adding: lib/ (stored 0%) Step #24: adding: lib/libprotobuf.so.17 (deflated 66%) Step #24: adding: lib/libgflags_nothreads.so.2.2.2 (deflated 59%) Step #24: adding: lib/libsnappy.so.1.1.8 (deflated 62%) Step #24: adding: lib/libprotoc.so.17 (deflated 66%) Step #24: adding: lib/libgflags_nothreads.so (deflated 59%) Step #24: adding: lib/libgflags.so.2.2 (deflated 59%) Step #24: adding: lib/libprotoc.a (deflated 76%) Step #24: adding: lib/libsnappy.so.1 (deflated 62%) Step #24: adding: lib/libprotobuf-lite.a (deflated 79%) Step #24: adding: lib/libprotoc.so.17.0.0 (deflated 66%) Step #24: adding: lib/libgflags.a (deflated 70%) Step #24: adding: lib/libprotobuf.a (deflated 79%) Step #24: adding: lib/libgflags_nothreads.so.2.2 (deflated 59%) Step #24: adding: lib/libsnappy-shared.a (deflated 67%) Step #24: adding: lib/libprotobuf.so (deflated 66%) Step #24: adding: lib/libsnappy.a (deflated 67%) Step #24: adding: lib/libgflags.so.2.2.2 (deflated 59%) Step #24: adding: lib/libprotobuf-lite.so.17 (deflated 66%) Step #24: adding: lib/libsnappy.so (deflated 62%) Step #24: adding: lib/libprotobuf-lite.so.17.0.0 (deflated 66%) Step #24: adding: lib/libprotobuf.so.17.0.0 (deflated 66%) Step #24: adding: lib/libprotobuf-lite.so (deflated 66%) Step #24: adding: lib/libgflags_nothreads.a (deflated 70%) Step #24: adding: lib/libleveldb.so (deflated 57%) Step #24: adding: lib/libleveldb.so.1.22.0 (deflated 57%) Step #24: adding: lib/libprotoc.so (deflated 66%) Step #24: adding: lib/libleveldb.a (deflated 73%) Step #24: adding: lib/libleveldb.so.1d (deflated 57%) Step #24: adding: lib/libgflags.so (deflated 59%) Step #24: adding: llvm-symbolizer (deflated 65%) Finished Step #24 Starting Step #25 Step #25: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #25: % Total % Received % Xferd Average Speed Time Time Time Current Step #25: Dload Upload Total Spent Left Speed Step #25: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 819 --:--:-- --:--:-- --:--:-- 821 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 11 207M 0 0 11 22.8M 0 145M 0:00:01 --:--:-- 0:00:01 145M 100 207M 0 0 100 207M 0 181M 0:00:01 0:00:01 --:--:-- 181M 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 365 --:--:-- --:--:-- --:--:-- 366 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 145 --:--:-- --:--:-- --:--:-- 146 Finished Step #28 Starting Step #29 Step #29: Already have image: gcr.io/oss-fuzz/brpc Finished Step #29 Starting Step #30 - "compile-libfuzzer-undefined-x86_64" Step #30 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #30 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #30 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #30 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function Step #30 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ Step #30 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": + '[' undefined = undefined ']' Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/static void DoProfiling/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/hotspots_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/void PProfService::heap/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/pprof_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/void PProfService::growth/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/pprof_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + mkdir -p build Step #30 - "compile-libfuzzer-undefined-x86_64": + cd build Step #30 - "compile-libfuzzer-undefined-x86_64": + cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' -DLIB_FUZZING_ENGINE=-fsanitize=fuzzer -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #30 - "compile-libfuzzer-undefined-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #30 - "compile-libfuzzer-undefined-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #30 - "compile-libfuzzer-undefined-x86_64": CMake. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #30 - "compile-libfuzzer-undefined-x86_64": CMake that the project does not need compatibility with older versions. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": -- The C compiler identification is Clang 22.0.0 Step #30 - "compile-libfuzzer-undefined-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compiler ABI info Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compiler ABI info - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compile features Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compile features - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Threads: TRUE Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #30 - "compile-libfuzzer-undefined-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #30 - "compile-libfuzzer-undefined-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #30 - "compile-libfuzzer-undefined-x86_64": CMake. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #30 - "compile-libfuzzer-undefined-x86_64": CMake that the project does not need compatibility with older versions. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": -- Configuring done (0.0s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Generating done (0.0s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #30 - "compile-libfuzzer-undefined-x86_64": [ 11%] Creating directories for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": Cloning into 'googletest-src'... Step #30 - "compile-libfuzzer-undefined-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #30 - "compile-libfuzzer-undefined-x86_64": [ 33%] Performing update step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 44%] No patch step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 55%] No configure step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 66%] No build step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 77%] No install step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 88%] No test step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Completed 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target googletest Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #30 - "compile-libfuzzer-undefined-x86_64": -- Configuring done (2.6s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Generating done (0.3s) 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 brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc 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/get_favicon.pb.h, brpc/get_favicon.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/get_js.pb.h, brpc/get_js.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/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.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 addressbook_map.pb.h, addressbook_map.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating echo.pb.h, echo.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_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 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 message.pb.h, message.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/mongo.pb.h, brpc/policy/mongo.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-stubs-internal.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/murmurhash3/murmurhash3.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/arena.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/at_exit.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/atomicops_internals_x86_gcc.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/big_endian.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/cpu.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/alias.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/asan_invalid_access.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/crash_logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/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/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.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": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object 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": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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 test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 312 | auto& s = rec.MetaAt(i); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 833 | struct iovec vec[nref]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 864 | struct iovec vec[nref]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": 1 warning generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/gflag.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/latency_recorder.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/variable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/mvariable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/bthread_once.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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/context.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/condition_variable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/execution_queue.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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/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": 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)/src/brpc/src/bvar/detail/percentile.h); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 289 40 | Sample() : data(), t:i16m: enote: _uexplicitly cast the pointer to silence this warnings(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/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^289 Step #30 - "compile-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_sam pl e(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": mem/src/brpc/src/bvar/detail/percentile.h:529:28: note: sin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereet(thi Step #30 - "compile-libfuzzer-undefined-x86_64": s 529 | ,  0, s_sampilezre =o fne(w* tshaimspl)e)r_;ty Step #30 - "compile-libfuzzer-undefined-x86_64": p e| ( ^t Step #30 - "compile-libfuzzer-undefined-x86_64": hi s| ) (void*); Step #30 - "compile-libfuzzer-undefined-x86_64":  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":  |  ^ 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, [ 59%] Built target TEST_PROTO_LIB 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": [ 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/id.cpp:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 64 | std::unique_ptr cb(new CombinedPercentileSamples); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ 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/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:.se note: expanded from macro 'DEFINE_SMALL_ARRAY'cond(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  char name/src/brpc/src/bvar/detail/series.h:116:16: ##_stacknote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here_array[sizeof(Tp) * nam Step #30 - "compile-libfuzzer-undefined-x86_64": e 116 | ##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": return/src/brpc/src/bvar/detail/percentile.h: a364:36: ppnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": en 364 | d _secon gd(value, _op);et_ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": in 65 | _serites.append(_oervwner->get_value(1))al; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _at(i).merg/src/brpc/src/bvar/window.h:58:9:e(*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 | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": b1. 58merge(b2) | ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  S/src/brpc/src/bvar/window.h:53:17:eriesSampler(WindowBase* owner,  R* vanote: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": r) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | /src/brpc/src/bvar/window.h:151:35: _var->op()(v1, vnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 2); Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/call_op_returning_void.h :29 _series_sampler = :12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | retnuewrn SeriesSampler( othis, _varp(v1, v2); 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/src/brpc/src/bvar/detail/series.h:168:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": : 49 | class13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | cLaaltle_nop_returning_void(opc, tmp, _data.second(yi)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | 132 |  re t u rDnEF IaNpEp_eSnMdA_LsLecon_dA(RvaRlAuYe(,ui n_otp3)2;_t Step #30 - "compile-libfuzzer-undefined-x86_64": , | tmp ^, Step #30 - "compile-libfuzzer-undefined-x86_64": rhs./src/brpc/src/bvar/window.h_:n65u:m25_:s ampnote: lein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heres, Step #30 - "compile-libfuzzer-undefined-x86_64": 64); Step #30 - "compile-libfuzzer-undefined-x86_64": 65| |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/butil/macros.h : 426 : 42 : _snote: eexpanded from macro 'DEFINE_SMALL_ARRAY'rie Step #30 - "compile-libfuzzer-undefined-x86_64": s .append(_owner->get_value426( | 1  )) ;c Step #30 - "compile-libfuzzer-undefined-x86_64": h a| r ^ Step #30 - "compile-libfuzzer-undefined-x86_64": name#/src/brpc/src/bvar/window.h#:_58s:t9a:c k_anote: rrin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereay Step #30 - "compile-libfuzzer-undefined-x86_64": [ sizeof58 | ( T p ) * n aSmeer#i#e_ssStaamcpkl_earr(rWaiyn_dsoiwzBea]s;e * o wner , \R* Step #30 - "compile-libfuzzer-undefined-x86_64": va| r) ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :176:1:/src/brpc/src/bvar/window.h :151:note: 35:expanded from here  Step #30 - "compile-libfuzzer-undefined-x86_64":  note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 176 | tmp151_ | s ta c k _ a r r a y _ s_iszeeri Step #30 - "compile-libfuzzer-undefined-x86_64": e s| _s^a Step #30 - "compile-libfuzzer-undefined-x86_64": mpler = /src/brpc/src/bvar/detail/percentile.h:n132e:w13: Serinote: esdeclared hereSa Step #30 - "compile-libfuzzer-undefined-x86_64": mpl/src/brpc/src/butil/macros.he:r425(:th20i:s ,In file included from /src/brpc/src/bthread/butex.cpp_:v35a: Step #30 - "compile-libfuzzer-undefined-x86_64": rIn file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /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": 425 | const unsigned name##_ s289t | a c k _ a r r a ym_esmiszeet (= t(hnamies##_size, <=0 (maxsize) ? name,##_size : 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": Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | S| ample() ^: Step #30 - "compile-libfuzzer-undefined-x86_64": data(), time_us(0)); {} Step #30 - "compile-libfuzzer-undefined-x86_64":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h :| 49: ^7 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here/src/brpc/src/bvar/detail/sampler.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 49 | clas s98 | L a t e n c y Rteackoer_dsearmple(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": B/src/brpc/src/bvar/detail/percentile.ha:s529: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": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 529:172:1: note: expanded from here 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/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": 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)e; { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::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": |  ^ 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, rhIn file included from /src/brpc/src/bthread/timer_thread.cpps._num_samples, 64:); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 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%] 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/window.h/src/brpc/src/bvar/bvar.h::27: Step #30 - "compile-libfuzzer-undefined-x86_64": 151:In file included from /src/brpc/src/bvar/latency_recorder.h35::26 : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.hnote: :289in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here:16 Step #30 - "compile-libfuzzer-undefined-x86_64": : warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(151 | _series_sampler = netwhi sSe,ri es0Sa,m plseir(zetohfis(*, t_hviasr));); 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/src/brpc/src/bvar/detail/sampler.h:40:16: :49:7: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herenote:  Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyReco 40 | Sample() : dartdae(r)B,a tsiem e{_u Step #30 - "compile-libfuzzer-undefined-x86_64": s (|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 13: note: initializer of 'tmp_stack_array_size' is not a constant expression/src/brpc/src/bvar/detail/sampler.h Step #30 - "compile-libfuzzer-undefined-x86_64": : 132 | 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116D | E F INE_SMAL L _ A R R ASYa(uint32_t,mple< Tt>m pt,m rhs._nump; Step #30 - "compile-libfuzzer-undefined-x86_64": _ | sa ^m Step #30 - "compile-libfuzzer-undefined-x86_64": ples, /src/brpc/src/bvar/detail/sampler.h:698:94: );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/butil/macros.h:426:42: Step #30 - "compile-libfuzzer-undefined-x86_64": 98 |  note: expanded from macro 'DEFINE_SMALL_ARRAY'ta Step #30 - "compile-libfuzzer-undefined-x86_64": ke_s ample()426; | Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": char/src/brpc/src/bvar/detail/percentile.h :n529ame:#28: #_stanote: ckin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here_ Step #30 - "compile-libfuzzer-undefined-x86_64": array[529 | s i z e of(Tp) * n ame##_stac _sak_amrrpler ay_size]=;  n e w \ s Step #30 - "compile-libfuzzer-undefined-x86_64": a mp| le ^r_type(th Step #30 - "compile-libfuzzer-undefined-x86_64": is:)166; Step #30 - "compile-libfuzzer-undefined-x86_64": : | 1 ^ Step #30 - "compile-libfuzzer-undefined-x86_64": : 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:/src/brpc/src/bvar/detail/percentile.h13:289:16: :note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | con289s | t   u n s i gmneemdse tn(amteh##_stack_ais, rr0ay,_ sisziez e= (nameof(*this##_si)z)e; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  <= (| ma (void*)x Step #30 - "compile-libfuzzer-undefined-x86_64": size) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/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": In file included from /src/brpc/src/bthread/execution_queue.cpp 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/bvar/detail/sampler.h/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/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": :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/key.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": /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": 65 | 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_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": ser 65 | ies.append(_ _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* ovar) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.hw:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ner->get 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class L_value(1));at Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:encyReco58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | rderBase { 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 | SeriesSampler(Win dDoEFwBase* INE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": o/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": wner, R* 426 | 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": va 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": r) Step #30 - "compile-libfuzzer-undefined-x86_64": |  425 | const unsigned 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": ^ 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/window.h:151:35: note: in instantiation 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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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 | /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": _s 132 | er i eDEs_FsINE_SMALLam_ARRAY(puint32_tle, tmp, rrhs._num _samples, = 64ne)w; Step #30 - "compile-libfuzzer-undefined-x86_64": S e| ri ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:s426S:a29: note: mpexpanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": le 426 | r( tchhiasr, n_avmaer##_stack_)a;rray[sizeo Step #30 - "compile-libfuzzer-undefined-x86_64": f(Tp) * name##_stack_array_siz |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": e];  /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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": \ 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: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herevariable 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": 65 | 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29 : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | c _shar name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": erie/src/brpc/src/bvar/detail/percentile.h:364s:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": .a 364 | get_pinterval_at(i).merge(*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: pnote: 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": end(_ow 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29ner->get_value(1 | return op(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/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_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": Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_v/src/brpc/src/bvar/window.h:58alue(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9:9: : note: 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::WindowBase::SeriesSampler::take_sample' requested here 58 | SeriesSampler(WindowBase* Step #30 - "compile-libfuzzer-undefined-x86_64": owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' 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: 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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": :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": /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/bthread/task_control.cpp426: | 599 : 5 : chwarning: arvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] n Step #30 - "compile-libfuzzer-undefined-x86_64": ame##_stack_ a599r | r a y [ DsEiFzIeNoEf_S(MTApL)L _*A RnRaAmYe(##i_nstta,c kn_uamrsr,a yn_gsriozuep], 12;8  ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": \|  Step #30 - "compile-libfuzzer-undefined-x86_64": ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^/src/brpc/src/butil/macros.h Step #30 - "compile-libfuzzer-undefined-x86_64": :426:29::164 :1:note: expanded from macro 'DEFINE_SMALL_ARRAY'note: Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 164c | htamrp_ sntaamcek#_#a_rsrtaayc_ks_iazrera Step #30 - "compile-libfuzzer-undefined-x86_64": y [| s^i Step #30 - "compile-libfuzzer-undefined-x86_64": zeof(/src/brpc/src/bvar/detail/percentile.hT:p132): 13*: namnote: e#declared here#_ Step #30 - "compile-libfuzzer-undefined-x86_64": stac/src/brpc/src/butil/macros.hk:_425a:r20r:a y_snote: izexpanded from macro 'DEFINE_SMALL_ARRAY'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/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: 426425: | 42 :  note: coexpanded from macro 'DEFINE_SMALL_ARRAY'ns Step #30 - "compile-libfuzzer-undefined-x86_64": t  un426s | i g n e dc hnaarme #n#a_mset#a#c_ks_taarcrka_ya_rsriazye[ =s i(zneaomfe#(#T_ps)i z*e n ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 111:1:: 160:1note: : expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_ s111i | zneum Step #30 - "compile-libfuzzer-undefined-x86_64": s _| st^a Step #30 - "compile-libfuzzer-undefined-x86_64": ck_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:599:5: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :107:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 107 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o 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: first argument in 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([ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in 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": :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": In file included from /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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sam[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": ple() : 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/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: /src/brpc/src/bvar/detail/percentile.hinitializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": :132:13:  317 | FixedHeadAndValue tmp[cur_batcwarning: 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": h426 | char name##_stack_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]; 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": 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/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": _at(i).merge(*rh s317 | FixedHeadAndV._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 | alue 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(_ 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: stream, peek_group_info(), valin 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": ues, 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": | 156 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flags_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/flot_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_favicon_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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/grpc_health_check_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/health_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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": 3 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##_st:166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_ack_arsray[sizeof(Tp) * name##_stack_array_stize];ack_array_s ize Step #30 - "compile-libfuzzer-undefined-x86_64": |  \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: ^in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 62%] 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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289 132 | : 16 : D EFINEnote: _Sexplicitly cast the pointer to silence this warningMALL_ARRAY(uint32_t, tmp, rhs. Step #30 - "compile-libfuzzer-undefined-x86_64": _num_samples, 62894 |  ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": | m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #30 - "compile-libfuzzer-undefined-x86_64": mset(/src/brpc/src/butil/macros.ht:his, 0426:29: , note: siexpanded from macro 'DEFINE_SMALL_ARRAY'ze Step #30 - "compile-libfuzzer-undefined-x86_64": o f(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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(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": 12 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/bthreads_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 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/prometheus_metrics_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_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/sockets_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/sorttable_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/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": /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/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": /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_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 | SamplIn 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(), timee tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-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: _unote: 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": s (529 |  _sampler = new sampler_type(this0); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ) {}/src/brpc/src/bvar/detail/percentile.h: Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 289:16: /src/brpc/src/bvar/detail/sampler.h:116:23:note: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": 289 |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |   /src/brpc/src/bvar/detail/sampler.h:98:9: note:  memset(thin 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": is 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":  0, sizeof/src/brpc/src/bvar/detail/percentile.h:289:16: note: (explicitly cast the pointer to silence this warning*thi Step #30 - "compile-libfuzzer-undefined-x86_64": s )); Step #30 - "compile-libfuzzer-undefined-x86_64": 289| |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) 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":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": /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##_st/src/brpc/src/bvar/detail/percentile.h:132:13: warning: avariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": ck_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  426 | char name##_stack_array[size/src/brpc/src/bvar/detail/percentile.ho:f364(Tp) * 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: 36note: : in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' 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": 364 | 364 | g e tg_eitn_tienrtveravla_la_ta(ti()i.)m.ermgeerg(e*(r*hrs.h_si.n_tienrtvearlvsa[il]s)[;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/detail/percentile.h:499:12/src/brpc/src/bvar/detail/percentile.h: note: :499:12: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": note: 499 | b1.in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | merge ( b 2 )b;1. Step #30 - "compile-libfuzzer-undefined-x86_64": m erge(b2|  ^ 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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h53: | 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": _var->op()(v 1, v229) | ;  Step #30 - "compile-libfuzzer-undefined-x86_64": | r ^e Step #30 - "compile-libfuzzer-undefined-x86_64": turn /src/brpc/src/bvar/detail/call_op_returning_void.hop:(29:v112,: v2)note: ;in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | /src/brpc/src/bvar/detail/series.h:r168e:t13u:r n onote: p(in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herev1, Step #30 - "compile-libfuzzer-undefined-x86_64": v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | /src/brpc/src/bvar/detail/series.h : 168 :13:  note: cain instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herell Step #30 - "compile-libfuzzer-undefined-x86_64": _ op_return168i | n g _v o i d ( o p , tmp, _datacall_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of 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 SeriesSample.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of 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* ownerr, (R*t vhaisr), Step #30 - "compile-libfuzzer-undefined-x86_64": _| va ^r Step #30 - "compile-libfuzzer-undefined-x86_64": ); Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: :151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 |  c l a_ssser iLes_sampleatencry R=e conredwer Base { Step #30 - "compile-libfuzzer-undefined-x86_64": Serie| sS ^a Step #30 - "compile-libfuzzer-undefined-x86_64": mpler(thi/src/brpc/src/bvar/detail/percentile.hs:,132:13:  _vanote: r)initializer of 'tmp_stack_array_size' is not a constant expression; Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:1327 | : note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRec DEFINoE_rSdMeArLBLa_sAeRR AY{(u Step #30 - "compile-libfuzzer-undefined-x86_64": i |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: nt32_t, tmp, rnote: hsinitializer of 'tmp_stack_array_size' is not a constant expression._ Step #30 - "compile-libfuzzer-undefined-x86_64": n 132 | um_samples, 64) ; DEFINE_SMALL_A Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": RRA/src/brpc/src/butil/macros.hY(uint32_:426:42:t , tnote: mpexpanded from macro 'DEFINE_SMALL_ARRAY', Step #30 - "compile-libfuzzer-undefined-x86_64": r 426 | char name#h#s_.s_tnaucmk__saarmrpalye[s,s i64ze)o;f Step #30 - "compile-libfuzzer-undefined-x86_64": ( T| p) ^ Step #30 - "compile-libfuzzer-undefined-x86_64": * nam/src/brpc/src/butil/macros.h:426:42: e##_stack_array_size]; note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_arra |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": y_si219z | et]mp_stac; \ Step #30 - "compile-libfuzzer-undefined-x86_64": | k ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :199:1: /src/brpc/src/bvar/detail/percentile.h:132note: :13expanded from here: Step #30 - "compile-libfuzzer-undefined-x86_64": 199 | tmp_stnote: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: ack_array_sinote: expanded from macro 'DEFINE_SMALL_ARRAY'z Step #30 - "compile-libfuzzer-undefined-x86_64": e  Step #30 - "compile-libfuzzer-undefined-x86_64": | ^425 Step #30 - "compile-libfuzzer-undefined-x86_64": |  /src/brpc/src/bvar/detail/percentile.h :132c:o13n:s t note: undeclared heresi Step #30 - "compile-libfuzzer-undefined-x86_64": gne/src/brpc/src/butil/macros.hd:425 :n20a: me#note: #_expanded from macro 'DEFINE_SMALL_ARRAY'st Step #30 - "compile-libfuzzer-undefined-x86_64": a 425 | ck_array_size = (name##_size <= (maconst unsigxsize) ? namen#e#_size d:  n0am)e; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^##_st Step #30 - "compile-libfuzzer-undefined-x86_64": ack_array_size:215:1 := (name #note: #expanded from here_si Step #30 - "compile-libfuzzer-undefined-x86_64": z e <= (maxsi215z | et)m p?_ sntaamcek#_#ar_rsaizye_ s:i ze0) 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": :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/version_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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));In file included from  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /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": /src/brpc/src/bvar/window.h289: | 58 : 9 : menote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | m s e t(thi Series, 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()sSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ,/src/brpc/src/bvar/window.h :t151i:m35e:_ us(note: 0in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here) Step #30 - "compile-libfuzzer-undefined-x86_64": {}  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | /src/brpc/src/bvar/detail/sampler.h : 116 : 23 :   note:  in instantiation of member function 'bvar::detail::Sample>::Sample' requested here_s Step #30 - "compile-libfuzzer-undefined-x86_64": e ries_sampler116 | =  n e w  S e r i eSsaSmapmlpel( ttmhpi;s Step #30 - "compile-libfuzzer-undefined-x86_64": , | _v ^a Step #30 - "compile-libfuzzer-undefined-x86_64": r); Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/bvar/detail/sampler.h: ^98 Step #30 - "compile-libfuzzer-undefined-x86_64": :9: /src/brpc/src/bvar/latency_recorder.hnote: :49in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here:7 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here98 | Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | tclass Laatkeen_csyaRmepcloer(d)e;rB Step #30 - "compile-libfuzzer-undefined-x86_64": a s| e ^{ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:/src/brpc/src/bvar/detail/percentile.h28:: 132:13note: : in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herenote: Step #30 - "compile-libfuzzer-undefined-x86_64":  initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | 132 | _ s a m pDlEeFr I=N E_nSeMwAL Lsa_mApRlReArY_(utiyntp3e(2_tth,i stm)p;, Step #30 - "compile-libfuzzer-undefined-x86_64": r h| s. ^_ Step #30 - "compile-libfuzzer-undefined-x86_64": num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/butil/macros.h::289426::1642:: note: note: explicitly cast the pointer to silence this warningexpanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | me426m | s e t ( tchhiasr, na/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": m 132 | DEFINE_SMA0LL,_ ARRAY(uinst32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": e #426# | _ s t chaacrk_ anrarmaey#[#_ssitzaecokf_a(rray[sizeTopf) (*T p) * nname##_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": a 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:25ime##_stack_arrzaye_sofize](*;  \ Step #30 - "compile-libfuzzer-undefined-x86_64": th| i ^ Step #30 - "compile-libfuzzer-undefined-x86_64": s)); Step #30 - "compile-libfuzzer-undefined-x86_64": | :229:1: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here: note: expanded from here ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  |  229 | tmp_s (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": tack_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":  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/vlog_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/index_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :240:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 240 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :236:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 236 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /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.app[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": end(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARIn file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:RAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from 426 | cha/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.hr name##:_sta26ck_array[si: Step #30 - "compile-libfuzzer-undefined-x86_64": zIn file included from e/src/brpc/src/bthread/bthread.h:o32: Step #30 - "compile-libfuzzer-undefined-x86_64": fIn file included from /src/brpc/src/bthread/mutex.h(:T27p: Step #30 - "compile-libfuzzer-undefined-x86_64": ) In file included from */src/brpc/src/bvar/utils/lock_timer.h :n28a: Step #30 - "compile-libfuzzer-undefined-x86_64": meIn file included from #/src/brpc/src/bvar/latency_recorder.h#:_26s: Step #30 - "compile-libfuzzer-undefined-x86_64": tac/src/brpc/src/bvar/detail/percentile.hk:_289a:r16r:a y_size]; warning: first argument in 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 | \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: menote: msexpanded from hereet Step #30 - "compile-libfuzzer-undefined-x86_64": ( this, 0219, | tmspi_zsetoafck(_*artrhaiys_s)i)z;e Step #30 - "compile-libfuzzer-undefined-x86_64": |  Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13/src/brpc/src/bvar/detail/sampler.h:: 40:16note: : declared here Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample/src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": () : data(), time_us(0) {}425 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  co/src/brpc/src/bvar/detail/sampler.hns:t116: 23:u nsnote: igin instantiation of member function 'bvar::detail::Sample>::Sample' requested herened Step #30 - "compile-libfuzzer-undefined-x86_64":  name##_st116a | c k _ a r r a y _ s i z eS a=mp le<(Tn>a mtem#p#;_ Step #30 - "compile-libfuzzer-undefined-x86_64": s i|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ze <= (maxsi/src/brpc/src/bvar/detail/sampler.hz:e98): 9?: namnote: e#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": s ize : 098 | ) ; \  Step #30 - "compile-libfuzzer-undefined-x86_64": | t ^a Step #30 - "compile-libfuzzer-undefined-x86_64": ke_sam:p215l:e1(:) ;note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stac 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 | k_array_size 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/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/cluster_recover_policy.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/compress.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/controller.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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.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": :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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :50:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 50 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :46:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 46 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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/memory_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | 2 warnings generated. 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/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/details/method_status.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/naming_service_thread.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/rtmp_utils.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": [ 72%] 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": 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/tcmalloc_extension.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/usercode_backup_pool.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": /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.2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": _num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :250:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 250 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :246:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 246 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), 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/global.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.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": 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": /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/http2.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:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529: 132 | 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.hD:E27F: Step #30 - "compile-libfuzzer-undefined-x86_64": IIn file included from N/src/brpc/src/bvar/utils/lock_timer.hE:_2828:S 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:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_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": : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.cpp.o 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": note: 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": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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":  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/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/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 | D E FINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_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":  _sampler = new sampler_type(/src/brpc/src/bvar/detail/series.hthis):116:; Step #30 - "compile-libfuzzer-undefined-x86_64": 16: note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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));/src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": :289:16: 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/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 58 | Se rie s Sampler(WindowBase* own memset(this, er, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:0151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": , 151 |  _series_sampler = siznew SeeriesSampler(this, of_var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49(*t:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase {h Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.his)); Step #30 - "compile-libfuzzer-undefined-x86_64": | :132:13:  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 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(WindowBa/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": se 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:* o426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": wner, 426 | char R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation 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": name##_stack_array[sizeof(Tp) * name##_stack_array_size]; 426 | \ 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 |  c h ar name##_stack_argreaty[size_of(Tp) * ninterval_at(i).merge(*rhs.ame##_stack_array_size]; _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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  ^/src/brpc/src/bvar/detail/series.h:168:13: note:  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": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": da/src/brpc/src/bvar/detail/percentile.h:132:ta.se13: cond(i)note: );declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425 Step #30 - "compile-libfuzzer-undefined-x86_64": | : ^20: Step #30 - "compile-libfuzzer-undefined-x86_64": note: /src/brpc/src/bvar/detail/series.h:expanded from macro 'DEFINE_SMALL_ARRAY'116:16: note:  Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | 425 | retu rn append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": c/src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": o 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:58nst un:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": sign 58 | ed S name##_eriesSsampler(WindowBase* owner,ta R* vacr) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": k_a 151 | _series_sampler = new SeriresSrayam_sizple = (naerm(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": e##/src/brpc/src/bvar/latency_recorder.h:49:7:_ snote: izin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | claes :215initializer of 'tmp_stack_array_size' is not a constant expression:1 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | 215 | t m p _ s tDaEcFk_IaNrEr_aSyM_AsLiLz_eAR Step #30 - "compile-libfuzzer-undefined-x86_64": R A| Y(^u 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:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 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_s/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": tack_array_si z132 | e Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: DEFINE_SM132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.hA:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsignedLL_AR nRAY(uintame#32_#t, tmp_, rhs._num_samples, 64st); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:a29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426ck_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": char name##_stack_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": In file included from /src/brpc/src/brpc/builtin/version_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/http_method.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 here2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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(thisIn file included from , _var)/src/brpc/src/brpc/compress.cpp:;22 Step #30 - "compile-libfuzzer-undefined-x86_64": : 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 Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:/src/brpc/src/brpc/socket_id.h49::725: 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": : note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here289 |  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 | 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, r hs._num_sa m Sample() : datpa()les, , tim64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": e_us/src/brpc/src/butil/macros.h(0:426:) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 42/src/brpc/src/bvar/detail/sampler.h:116:23: note: :in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-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 |  note:  expanded from macro 'DEFINE_SMALL_ARRAY'  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":  426 | ch/src/brpc/src/bvar/detail/percentile.har name##_:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": stack_array[sizeof(Tp) * name##_stack_arra 289 | y _size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  memset(this ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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: /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": 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 | 132 | DEFINE_SMALL_ARRAY(uint 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": 32_t 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , tmp, rhs._/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": n 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": um_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_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 | In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp : 22D: Step #30 - "compile-libfuzzer-undefined-x86_64": EIn file included from F/src/brpc/src/brpc/controller.hI:NE_SMALL37: 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:_ARRAY(uint32_t, 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 | memtsmept(this, 0, sizeo,f (*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h: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: rin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereh Step #30 - "compile-libfuzzer-undefined-x86_64": 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": s._n 529 | _sampler = new sampuler_type(thism_); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": samples, 64); 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": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name 289 | ## memset(this, 0, sizeof_(*this));stack_array[sizeo Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": f(Tp) | * (void*) 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": /src/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": In file included from /src/brpc/src/brpc/cluster_recover_policy.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25:: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16242:1: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": : note:  289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from here/src/brpc/src/bvar/detail/sampler.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": 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": 242 | 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": tmp/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": _s 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": tack_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:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #30 - "compile-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/memcache.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/channel.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/nshead_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 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in 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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": :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 | tmp2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": _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/nshead_service.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/parallel_channel.cpp.o 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/partition_channel.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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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[ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": :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/load_balancer_with_naming.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-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/policy/baidu_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_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": In file included from 132 | /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 DE/src/brpc/src/bthread/mutex.hF:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28INE_SMALL_ARRAY(uint32_t, tmp,: Step #30 - "compile-libfuzzer-undefined-x86_64": In file 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 r:hs._num_ warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": samp 289 | les, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42 memse: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": t(thi 426s, 0 | ,c sizeof(*thhais)); Step #30 - "compile-libfuzzer-undefined-x86_64": r|  na ^m Step #30 - "compile-libfuzzer-undefined-x86_64": e#/src/brpc/src/bvar/detail/sampler.h:40:16: #_stack_array[sizeof(Tp) * name##_snote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": tack 40 | Samp_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from herele() : da Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ta(), time_us(0) {^} Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64":  | /src/brpc/src/bvar/detail/percentile.h ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 132:13: /src/brpc/src/bvar/detail/sampler.hnote: :116declared here:23 Step #30 - "compile-libfuzzer-undefined-x86_64": : /src/brpc/src/butil/macros.h:note: 425:in instantiation of member function 'bvar::detail::Sample>::Sample' requested here20: Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample t425m | p ;  Step #30 - "compile-libfuzzer-undefined-x86_64": | co ^n Step #30 - "compile-libfuzzer-undefined-x86_64": st u/src/brpc/src/bvar/detail/sampler.hn:s98i:g9n:ed  nnote: ain instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereme##_sta Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ck_array_size = (name##_/src/brpc/src/bvar/detail/percentile.hs:i529z:e28 :< = (note: main instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herexs Step #30 - "compile-libfuzzer-undefined-x86_64": i ze) ? name##_529s | i z e :  0  ) ; \ _ Step #30 - "compile-libfuzzer-undefined-x86_64": s a| mp ^l Step #30 - "compile-libfuzzer-undefined-x86_64": er = :215n:e1w: sanote: mpexpanded from herele Step #30 - "compile-libfuzzer-undefined-x86_64": r 215 | tmp_sta_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: ck_array_size 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :33:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 33 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :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": /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": :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": :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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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, sizeo2 warnings generated. 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": 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": [ 81%] 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/domain_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :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: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :133:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 133 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /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 :In file included from 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/periodic_task.cpp::166:1: 19note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_a: 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 r/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": ray_size 289 | Step #30 - "compile-libfuzzer-undefined-x86_64": memset(this,  | 0, sizeo^f(*thi Step #30 - "compile-libfuzzer-undefined-x86_64": s)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dynpart_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hulu_pbrpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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/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": /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(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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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": 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/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: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": 2 warnings generated. 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nacos_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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/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": 2 warnings generated. 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": /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": 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 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": | :32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h: ^ 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": 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: 132 | DEFINE_SMALL26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289_ARRAY(uint32_t, tmp, rhs._num_samples, 64):16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-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: /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64":  426 | note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), ti char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": me_us(0 |  ^ 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 | c Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": onst unsigned na/src/brpc/src/bvar/detail/sampler.h:me##_st116:23: note: ack_arrin instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": a 116 | y_siz Se = (name#ample#_size <= tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": (maxsize) |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/sampler.h:98:9: ? nanote: 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": m 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": e/src/brpc/src/bvar/detail/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": size : 0); \ 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": Step #30 - "compile-libfuzzer-undefined-x86_64": :213:1: 289 | memsetnote: (thexpanded from hereis,  Step #30 - "compile-libfuzzer-undefined-x86_64": 0, siz213eof | (t*tmhips_))s;t Step #30 - "compile-libfuzzer-undefined-x86_64": a| c ^ Step #30 - "compile-libfuzzer-undefined-x86_64": k _| a (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": rray_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/nova_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": :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/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": /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(v12 warning, v2)s; Step #30 - "compile-libfuzzer-undefined-x86_64": generated. Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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: /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": note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 84 | charIn 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": hIn 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:e 49928: Step #30 - "compile-libfuzzer-undefined-x86_64": In file 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": ad b1.me 289 | memset(this, 0, sizereof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": r_g/src/brpc/src/bvar/detail/sampler.hae:(40nb:d16_: 2note: )m;in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | 40 | ^ Samp Step #30 - "compile-libfuzzer-undefined-x86_64": le() :eta[12 + meta_size]; data() Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:, 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": 53 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": :17 529| :  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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 | r/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": eturn op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::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/src/brpc/src/butil/macros.h:426:29: note: l_op_reexpanded from macro 'DEFINE_SMALL_ARRAY'tu Step #30 - "compile-libfuzzer-undefined-x86_64": r 426 | char ning_void(op, tmp, _data.second(i));na Step #30 - "compile-libfuzzer-undefined-x86_64": m e| ## ^_ Step #30 - "compile-libfuzzer-undefined-x86_64": st/src/brpc/src/bvar/detail/series.h:116:16: ack_array[note: siin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": zeof(Tp116) | * n am e# # _ s tarcekt_uarrnray _aspipzeen]d;_ se c o n d (\v Step #30 - "compile-libfuzzer-undefined-x86_64": a lue| , ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_ Step #30 - "compile-libfuzzer-undefined-x86_64": op); Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h| :364 ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here/src/brpc/src/bvar/window.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 65 :25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | 364 | _gseetr_iienst.eravpaple_nadt((_io)wn.emre-r>ggee(t*_rvhas.l_uien(t1));er Step #30 - "compile-libfuzzer-undefined-x86_64": v a| ls ^[ Step #30 - "compile-libfuzzer-undefined-x86_64": i]);/src/brpc/src/bvar/window.h Step #30 - "compile-libfuzzer-undefined-x86_64": : | 58: ^9: Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here/src/brpc/src/bvar/detail/percentile.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 499 :12: 58 | note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | SeriesSampler(Windobw1B.amseer*g eow(bn2e)r;, Step #30 - "compile-libfuzzer-undefined-x86_64": R *| va ^r Step #30 - "compile-libfuzzer-undefined-x86_64": ) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: /src/brpc/src/bvar/window.h:note: 151:in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here35: Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | 151 | _ v a r - > o p ( )_(sve1r,i evs2);_s Step #30 - "compile-libfuzzer-undefined-x86_64": a m| pl ^e Step #30 - "compile-libfuzzer-undefined-x86_64": r = n/src/brpc/src/bvar/detail/call_op_returning_void.hew:29: 12Se:r iesnote: Sain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heremp Step #30 - "compile-libfuzzer-undefined-x86_64": l er(29 | t h i | s, _var); ret _sampler Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": = urn op(v1, vn2); Step #30 - "compile-libfuzzer-undefined-x86_64": | ew sampler_ty/src/brpc/src/bvar/latency_recorder.h: ^ Step #30 - "compile-libfuzzer-undefined-x86_64": pe(this); Step #30 - "compile-libfuzzer-undefined-x86_64": 49 |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here/src/brpc/src/bvar/detail/series.h: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning168:13 Step #30 - "compile-libfuzzer-undefined-x86_64": :49 note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here | c289 | Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | lass Laten mcyRec emset(thi csor, 0, sderBaseallizeof(*t { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^his_o)); Step #30 - "compile-libfuzzer-undefined-x86_64": | p_return ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:  | ing_void (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": (op, tmp, _danote: tainitializer of 'tmp_stack_array_size' is not a constant expression.s Step #30 - "compile-libfuzzer-undefined-x86_64": e cond(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/series.h : 116D:EFINE_SM16: ALLnote: _Ain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereRRA Step #30 - "compile-libfuzzer-undefined-x86_64": Y (uint32_t, tmp116, | r h s . _ n u m_rseatmuprlnes ,a pp6e4nd)_;se Step #30 - "compile-libfuzzer-undefined-x86_64": c o| nd ^( Step #30 - "compile-libfuzzer-undefined-x86_64": valu/src/brpc/src/butil/macros.he:,426 :_42o:p );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:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 42665 | |  c h a r  n a m e #_s#e_rsiteasc.ka_paprernd(_owneay[sri-z>egoeft_(vTapl)u e*( na1me)#)#; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^_stack_ar Step #30 - "compile-libfuzzer-undefined-x86_64": ray/src/brpc/src/bvar/window.h_:s58i:z9e:] ;note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^58 Step #30 - "compile-libfuzzer-undefined-x86_64": |   : 191 : 1S:e rienote: sSexpanded from heream Step #30 - "compile-libfuzzer-undefined-x86_64": p ler(WindowBase*191 | tomwpn_setra,c kR_*array_s var)iz Step #30 - "compile-libfuzzer-undefined-x86_64": 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/window.h/src/brpc/src/bvar/detail/percentile.h::151132::3513:: note: declared here note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 |  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": _series_ sampler = new S425e | r i e s Sacmopnlsetr( unsignthise, _var)d na;me Step #30 - "compile-libfuzzer-undefined-x86_64": # #| _s ^t Step #30 - "compile-libfuzzer-undefined-x86_64": ack_arra/src/brpc/src/bvar/latency_recorder.hy:_49s:i7z:e = note: (nin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heream Step #30 - "compile-libfuzzer-undefined-x86_64": e ##_s49i | zec <= (maxlasss iLzaet)e n?c name##yReco_rsdiezreB a:s e 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/detail/percentile.h:132:13:  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :187:1:note:  initializer of 'tmp_stack_array_size' is not a constant expressionnote: Step #30 - "compile-libfuzzer-undefined-x86_64":  expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 187 | 132t | m p _ s t a c k _ a r r aDyE_FsIiNzEe_S Step #30 - "compile-libfuzzer-undefined-x86_64": M A| LL^_ 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:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 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/nshead_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/public_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_/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": samples, 426 | 64)char name##_stack_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": ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  499 |  /src/brpc/src/butil/macros.h : 426 : 42 : b1.note: meexpanded from macro 'DEFINE_SMALL_ARRAY'rg Step #30 - "compile-libfuzzer-undefined-x86_64": e(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ 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 here426 | Step #30 - "compile-libfuzzer-undefined-x86_64": ch a53r |  n a m e # # _ s t a c k _ a r_rvaayr[->soipz(e)o(fv1(,T pv)2 )*; n Step #30 - "compile-libfuzzer-undefined-x86_64": a m| e# ^# Step #30 - "compile-libfuzzer-undefined-x86_64": _sta/src/brpc/src/bvar/detail/call_op_returning_void.hc:k29_:a12r:r ay_note: siin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereze Step #30 - "compile-libfuzzer-undefined-x86_64": ]; 29 | \ return o Step #30 - "compile-libfuzzer-undefined-x86_64": p (| v1 ^, Step #30 - "compile-libfuzzer-undefined-x86_64": v2); Step #30 - "compile-libfuzzer-undefined-x86_64": : 223| :1 ^: Step #30 - "compile-libfuzzer-undefined-x86_64": note: /src/brpc/src/bvar/detail/series.h:expanded from here168: Step #30 - "compile-libfuzzer-undefined-x86_64": 13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | tmp_ s168t | a c k _ a r r a y _ s i zceal Step #30 - "compile-libfuzzer-undefined-x86_64": l _| op^_ Step #30 - "compile-libfuzzer-undefined-x86_64": return/src/brpc/src/bvar/detail/percentile.hi:n132g:_13v:o id(note: opdeclared here, Step #30 - "compile-libfuzzer-undefined-x86_64": tmp/src/brpc/src/butil/macros.h,: 425_:d20a:t a.snote: ecexpanded from macro 'DEFINE_SMALL_ARRAY'on Step #30 - "compile-libfuzzer-undefined-x86_64": d(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: 425in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here |  Step #30 - "compile-libfuzzer-undefined-x86_64": const 116 | u n s i g n e d  rneatmuer#n#_ satpapcekn_da_rsreacyo_nsdi(zvea l=u e(,n a_moep#)#; Step #30 - "compile-libfuzzer-undefined-x86_64": _| si ^z Step #30 - "compile-libfuzzer-undefined-x86_64": e <= /src/brpc/src/bvar/window.h(:m65a:x25s:i ze)note: ?in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here n Step #30 - "compile-libfuzzer-undefined-x86_64": ame #65# | _ s i z e :  0  ) ; \  Step #30 - "compile-libfuzzer-undefined-x86_64": _ s| er ^i Step #30 - "compile-libfuzzer-undefined-x86_64": es.a:p219p:e1n:d (_onote: wnexpanded from hereer Step #30 - "compile-libfuzzer-undefined-x86_64": ->get_val u219e | (tm1p_)s)t;ac Step #30 - "compile-libfuzzer-undefined-x86_64": k _| ar ^r Step #30 - "compile-libfuzzer-undefined-x86_64": ay_s/src/brpc/src/bvar/window.hi:z58e:9:  Step #30 - "compile-libfuzzer-undefined-x86_64":  note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  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": :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": :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": /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)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/window.h:65:25: note: 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. 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": [ 86%] 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/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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": 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:16: warning: first argument in 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": 2 warnings 529 | generated. 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/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/round_robin_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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/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": :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/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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": 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/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 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning:  65 | variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | _ s e r ies DEFINE_SMAL.L_ARRAY(append(_owner->get_value(1));uint32_t, tmp, r Step #30 - "compile-libfuzzer-undefined-x86_64": hs._nu |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": m_/src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  58 | /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": SeriesSampler(WindowBase* o 426 | wchar namnere##_stac, k_array[R* var)sizeof Step #30 - "compile-libfuzzer-undefined-x86_64": | (Tp) * n ^ Step #30 - "compile-libfuzzer-undefined-x86_64": a/src/brpc/src/bvar/window.h:151:35me##_: snote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested heretack_arr Step #30 - "compile-libfuzzer-undefined-x86_64": ay 151 | _si z e ] ;_ s e r i e s\_s Step #30 - "compile-libfuzzer-undefined-x86_64": a m| pl ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #30 - "compile-libfuzzer-undefined-x86_64": r = new Se/src/brpc/src/bvar/detail/percentile.hr:i364e:s36S:a mplnote: erin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here(t Step #30 - "compile-libfuzzer-undefined-x86_64": h is, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/latency_recorder.h : 49 : 7 :g et_note: inin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herete Step #30 - "compile-libfuzzer-undefined-x86_64": r val_at49( | i)c.lmaesrsge (L*arthesn.c_yiRnetceorrvdaelrsB[ais]e) ;{ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: /src/brpc/src/bvar/detail/percentile.h:132note: :13in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here:  Step #30 - "compile-libfuzzer-undefined-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | 132 | b 1 . m e r g e ( b 2D)E;FI Step #30 - "compile-libfuzzer-undefined-x86_64": N E| _S ^M Step #30 - "compile-libfuzzer-undefined-x86_64": ALL_ARR/src/brpc/src/bvar/window.hA:Y53(:u17i:n t32note: _tin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here, Step #30 - "compile-libfuzzer-undefined-x86_64": t mp, rhs.53_ | n u m _ s a m p l e s ,  6 4 _)v;ar Step #30 - "compile-libfuzzer-undefined-x86_64": - >| op ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ()(v/src/brpc/src/butil/macros.h1:,426 :v422: );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/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | re426tu | r n  opc(hva1r, vn2a)m;e# Step #30 - "compile-libfuzzer-undefined-x86_64": # _| st ^a Step #30 - "compile-libfuzzer-undefined-x86_64": ck_array/src/brpc/src/bvar/detail/series.h[:168s:i13z:e ofnote: (Tin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herep) Step #30 - "compile-libfuzzer-undefined-x86_64": * name##_stack_168a | r r a y _ s i z e ] ; c a l l _\op Step #30 - "compile-libfuzzer-undefined-x86_64": _ r| et ^u Step #30 - "compile-libfuzzer-undefined-x86_64": rning_vo:i185d:(1o:p , tnote: mpexpanded from here, Step #30 - "compile-libfuzzer-undefined-x86_64": _ data.second(i))185 | tmp;_s Step #30 - "compile-libfuzzer-undefined-x86_64": t a| c ^k Step #30 - "compile-libfuzzer-undefined-x86_64": _array/src/brpc/src/bvar/detail/series.h_s:i116z:e16: Step #30 - "compile-libfuzzer-undefined-x86_64": note: | /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_siz^e] Step #30 - "compile-libfuzzer-undefined-x86_64": ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 155 | const uint32_t meta_siz Step #30 - "compile-libfuzzer-undefined-x86_64": e = GetProtobufByteSize(meta); 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": :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": /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 :/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 | 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 DE_stack_arraFyI_NsEi_zSMALeL Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ 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_v/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": a 157 | char header_and_lueme(ta[112)) + meta_si;ze]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  Step #30 - "compile-libfuzzer-undefined-x86_64": ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^/src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp: Step #30 - "compile-libfuzzer-undefined-x86_64": 582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here 582 |  S Step #30 - "compile-libfuzzer-undefined-x86_64": erializeHuluHeaderAndMeta(&res_ buf,58 | 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:  Serinitializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": iesSampler( W157i | nd owBacshea* r headeor_and_mweta[12n + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": | er ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , R/src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp*: 155va:20: note: r)declared here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | 155 ^ | co Step #30 - "compile-libfuzzer-undefined-x86_64": nst uint32_t meta_siz/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": e = Get 151 | _series_sampler = ProtobufByteSiznew SeriesSae(metample); Step #30 - "compile-libfuzzer-undefined-x86_64": | r(this, _var); ^ 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": :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/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": 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:2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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##_siz[ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": e : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :106:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 106 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/protocol.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 | _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": | 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": Step #30 - "compile-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 | t/src/brpc/src/bvar/detail/percentile.h:364:36ak:e_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_tnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ype(this) ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).m/src/brpc/src/bvar/detail/percentile.h:erge(*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.merge289(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :16:/src/brpc/src/bvar/window.h :53:17:note: note: explicitly cast the pointer to silence this warningin 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": 53 | 289 | mems et(this, 0, s _izeof(*vathis)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  | r-> (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::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_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/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": 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": In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:/src/brpc/src/bvar/detail/call_op_returning_void.h22: 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": :In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp289: | 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.hm:e25m: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from s/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.het(: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]t Step #30 - "compile-libfuzzer-undefined-x86_64": his,  289 | memset(this, 00, , sisziezoefof(*(*thtihsis)));); 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:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: 40in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here |  Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 40/src/brpc/src/bvar/detail/sampler.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": Sam 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": ple() : dat29a(), t:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereime Step #30 - "compile-libfuzzer-undefined-x86_64": _us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 |  re116tu | rn op (v1, v Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^2); Step #30 - "compile-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": Step #30 - "compile-libfuzzer-undefined-x86_64": 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 =  Step #30 - "compile-libfuzzer-undefined-x86_64": new samp/src/brpc/src/bvar/detail/series.h:168:13:l ernote: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": _type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ 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/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | retu Step #30 - "compile-libfuzzer-undefined-x86_64": rn 289 |  appen memset(this, d_0, 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/rdma/block_pool.cpp.o 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": 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/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": 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": /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/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": :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 | 2 warnings generated. 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 | 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/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": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | 58D | E F I N E _ S M ASLeLr_iAeRsRSAaYm(pulienrt(3W2i_ntd,o wtBmaps,e *r hosw.n_enru,m _Rs*a mvpalre)s, Step #30 - "compile-libfuzzer-undefined-x86_64": | 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:151:35:/src/brpc/src/butil/macros.h :426:note: 29:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _s e426r | i e s _ sacmhpalrer n=a men#e#w_s tSaecrki_easrSraamyp[lesri(zetohfis(T,p )_ v*a rn)a;me Step #30 - "compile-libfuzzer-undefined-x86_64": # #| _s ^t Step #30 - "compile-libfuzzer-undefined-x86_64": ack_array_s/src/brpc/src/bvar/latency_recorder.hi:z49e:]7;:   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 | class /src/brpc/src/bvar/detail/percentile.hL:a364t:e36n:c yRenote: coin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hererd Step #30 - "compile-libfuzzer-undefined-x86_64": erBase { 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": 364 | get_inter v132a | l _ a t ( i ) . m e r g eD(E*FrIhNsE.__SiMnAtLeLr_vAaRlRsA[Yi(]u)i;nt Step #30 - "compile-libfuzzer-undefined-x86_64": 3 2| _t ^, Step #30 - "compile-libfuzzer-undefined-x86_64": tmp, rhs./src/brpc/src/bvar/detail/percentile.h_:n499u:m12_:s ampnote: lein instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heres, Step #30 - "compile-libfuzzer-undefined-x86_64": 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); 426 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": char /src/brpc/src/bvar/window.hn:a53m:e17#:# _stnote: acin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herek_ Step #30 - "compile-libfuzzer-undefined-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 #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1:/src/brpc/src/bvar/detail/call_op_returning_void.h :29:note: 12:expanded from here  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 | retu r219n | t mopp_(svt1a,c kv_2a)r;ra Step #30 - "compile-libfuzzer-undefined-x86_64": y _| si ^z Step #30 - "compile-libfuzzer-undefined-x86_64": e Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h/src/brpc/src/bvar/detail/percentile.h::168132::1313:: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": note:  168 | call_op_returning_void(op, tmp, declared here Step #30 - "compile-libfuzzer-undefined-x86_64": _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of 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/src/brpc/src/butil/macros.h::9425:: 20: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herenote:  Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | Seri e425s | S a m p ler(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: const unsignnote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | ed name _series_samp#ler# _stack_array_size = (name##_s=i zen e49::2157::1 : note: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereexpanded from here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | clas s215 | tLmapt_esntcaycRke_caorrrdaeyr_Bsaiszee { Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_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": 2:223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": warnings generated. 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o 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/redis_command.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(Window[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": Base* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | In file included from /src/brpc/src/brpc/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 D:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37EFINE_: 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": SMALL_/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warningAR Step #30 - "compile-libfuzzer-undefined-x86_64": RAY(uint32_289 | memset(tth, tmp, rhs.is_num_samp, 0, sizleof(*thises, 64)); 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": :426:42: note:  expanded from macro 'DEFINE_SMALL_ARRAY'|  Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  426 | 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/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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.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/retry_policy.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": :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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_pb_message_factory.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.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": :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/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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": :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/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_round_robin_load_balancer.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": :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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ssl_options.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /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": [ 97%] 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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": /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(ui[ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": nt32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 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": 2/src/brpc/src/bvar/detail/percentile.h:289 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": :16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 4 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": :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/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": 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": 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/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, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h: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/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": /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": 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": :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": /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/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 398 | CallId ids[_nalloc]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 575 | DEFINE_SMALL_ARRAY(char, cont_buf, buf.size(), 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: initializer of 'cont_buf_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :71:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 71 | cont_buf_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :67:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 67 | cont_buf_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :84:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 84 | rbsp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :80:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 80 | rbsp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /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/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": /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": 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": 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": 3 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": :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/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": /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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 2003 | char buf[fullname_len]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 2000 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /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/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :48:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 48 | buf_list_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :44:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 44 | buf_list_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /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": 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/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": 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": :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": :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": :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": 4 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 7 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_butil Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_butil Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hpack.dir/fuzzing/fuzz_hpack.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_hpack Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_hpack Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_http.dir/fuzzing/fuzz_http.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_http.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_hulu.dir/fuzzing/fuzz_hulu.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_hulu.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_json.dir/fuzzing/fuzz_json.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_json Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_json Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_redis.dir/fuzzing/fuzz_redis.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_redis Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_redis Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_shead.dir/fuzzing/fuzz_shead.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_shead.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.h:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.h:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_sofa.dir/fuzzing/fuzz_sofa.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_sofa.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_uri.dir/fuzzing/fuzz_uri.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_uri.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/rtmp.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/tmptuzsue_o/fuzz_json Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmptuzsue_o/fuzz_butil Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmptuzsue_o/fuzz_redis Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmptuzsue_o/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 771 --:--:-- --:--:-- --:--:-- 773 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47.1M 0 0 100 47.1M 0 76.8M --:--:-- --:--:-- --:--:-- 76.7M 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 185 --:--:-- --:--:-- --:--:-- 185 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 178 --:--:-- --:--:-- --:--:-- 178 Finished Step #37 Starting Step #38 Step #38: Already have image: gcr.io/oss-fuzz/brpc Finished Step #38 PUSH DONE