starting build "d2d6676d-a082-4a3c-a78b-7da43b1b216e" 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-c413d687-3e36-4079-b6b7-c4811fab8436" Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Already have image (with digest): gcr.io/cloud-builders/docker Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Sending build context to Docker daemon 3.584kB Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": latest: Pulling from oss-fuzz-base/base-builder Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b549f31133a9: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 8191d55aa0eb: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": af8195cbbb6b: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 773804679aa8: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a4115c606c48: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 80e215235be2: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": eb8d697fc1be: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 2b07c006f0ac: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ceafbf7cb7fc: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e9a87a4adc51: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 79643837298f: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d775e8cc387e: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 6bcff6f07ece: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 9e91c1ff7fd0: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b0d97d4fb1c0: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d5a962e7135a: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": dd3689cbe915: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 0331345869ed: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d3a14c19c419: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a244775028d4: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 51f42f759883: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7d02d0996fdd: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f80acf8a24d8: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 619bf30e85bb: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7779784f9d5e: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 1c0f6334f5ae: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": be91274de4f9: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 612c9c8873d1: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 848d228d0258: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e9a87a4adc51: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ef913023844b: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b13e488f9c92: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e17145e86cef: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 14b704b5e042: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 79643837298f: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": fdc880850d1b: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 48a27a7b4e3f: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d775e8cc387e: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 36b9bdf4f9e9: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f241ccbb124c: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 32882df785f8: Pulling fs layer Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d5a962e7135a: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": dd3689cbe915: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 0331345869ed: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 6bcff6f07ece: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d3a14c19c419: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": fdc880850d1b: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a244775028d4: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 9e91c1ff7fd0: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 48a27a7b4e3f: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 51f42f759883: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 848d228d0258: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b0d97d4fb1c0: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 36b9bdf4f9e9: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7d02d0996fdd: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f241ccbb124c: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f80acf8a24d8: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 32882df785f8: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e17145e86cef: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ef913023844b: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 619bf30e85bb: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7779784f9d5e: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 14b704b5e042: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 612c9c8873d1: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 80e215235be2: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 1c0f6334f5ae: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": eb8d697fc1be: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a4115c606c48: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 773804679aa8: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ceafbf7cb7fc: Waiting Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": af8195cbbb6b: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": af8195cbbb6b: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b549f31133a9: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b549f31133a9: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a4115c606c48: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a4115c606c48: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 773804679aa8: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 773804679aa8: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": eb8d697fc1be: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 8191d55aa0eb: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 8191d55aa0eb: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 2b07c006f0ac: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 2b07c006f0ac: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b549f31133a9: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e9a87a4adc51: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e9a87a4adc51: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 79643837298f: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 79643837298f: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d775e8cc387e: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d775e8cc387e: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 6bcff6f07ece: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 6bcff6f07ece: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ceafbf7cb7fc: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ceafbf7cb7fc: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d5a962e7135a: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b0d97d4fb1c0: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b0d97d4fb1c0: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 0331345869ed: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": dd3689cbe915: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": dd3689cbe915: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d3a14c19c419: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d3a14c19c419: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a244775028d4: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a244775028d4: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 51f42f759883: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 51f42f759883: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7d02d0996fdd: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7d02d0996fdd: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 619bf30e85bb: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 619bf30e85bb: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f80acf8a24d8: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f80acf8a24d8: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7779784f9d5e: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7779784f9d5e: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 1c0f6334f5ae: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 1c0f6334f5ae: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": be91274de4f9: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 612c9c8873d1: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 612c9c8873d1: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 848d228d0258: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 848d228d0258: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 8191d55aa0eb: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": af8195cbbb6b: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ef913023844b: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ef913023844b: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b13e488f9c92: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b13e488f9c92: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e17145e86cef: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 80e215235be2: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 80e215235be2: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 14b704b5e042: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 14b704b5e042: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": fdc880850d1b: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": fdc880850d1b: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 36b9bdf4f9e9: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 36b9bdf4f9e9: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 48a27a7b4e3f: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 48a27a7b4e3f: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f241ccbb124c: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f241ccbb124c: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 32882df785f8: Verifying Checksum Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 32882df785f8: Download complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 773804679aa8: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a4115c606c48: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 80e215235be2: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": eb8d697fc1be: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 2b07c006f0ac: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ceafbf7cb7fc: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e9a87a4adc51: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 79643837298f: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d775e8cc387e: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 6bcff6f07ece: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 9e91c1ff7fd0: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b0d97d4fb1c0: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d5a962e7135a: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": dd3689cbe915: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 0331345869ed: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": d3a14c19c419: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": a244775028d4: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 51f42f759883: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7d02d0996fdd: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f80acf8a24d8: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 619bf30e85bb: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 7779784f9d5e: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 1c0f6334f5ae: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": be91274de4f9: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 612c9c8873d1: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 848d228d0258: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ef913023844b: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": b13e488f9c92: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": e17145e86cef: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 14b704b5e042: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": fdc880850d1b: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 48a27a7b4e3f: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 36b9bdf4f9e9: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": f241ccbb124c: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 32882df785f8: Pull complete Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Digest: sha256:b9a3ecde7bd660f471fd23df51b94ede063286773ee28de4bc4717c3c6170400 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> cba5ed8de3ff Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": ---> Running in 9b966f33b142 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Fetched 383 kB in 1s (539 kB/s) Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Reading package lists... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Reading package lists... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Building dependency tree... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Reading state information... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": The following packages were automatically installed and are no longer required: Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": autotools-dev libsigsegv2 m4 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Use 'apt autoremove' to remove them. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": The following additional packages will be installed: Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": cmake-data googletest libarchive13 libgflags2.2 libgoogle-perftools4 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libicu66 libjsoncpp1 libleveldb1d liblzma-dev libprotobuf-lite17 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libprotobuf17 libprotoc17 librhash0 libsnappy1v5 libtcmalloc-minimal4 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libunwind-dev libunwind8 libuv1 libxml2 zlib1g-dev Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Suggested packages: Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": cmake-doc ninja-build lrzip leveldb-doc liblzma-doc Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": The following NEW packages will be installed: Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": cmake cmake-data googletest libarchive13 libgflags-dev libgflags2.2 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libgoogle-perftools-dev libgoogle-perftools4 libgtest-dev libicu66 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libjsoncpp1 libleveldb-dev libleveldb1d liblzma-dev libprotobuf-dev Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libprotobuf-lite17 libprotobuf17 libprotoc-dev libprotoc17 librhash0 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libsnappy-dev libsnappy1v5 libtcmalloc-minimal4 libunwind-dev libunwind8 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": libuv1 libxml2 protobuf-compiler zlib1g-dev Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Need to get 22.9 MB of archives. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": After this operation, 123 MB of additional disk space will be used. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.5 [327 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 googletest all 1.10.0-2 [623 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags2.2 amd64 2.2.2-1build1 [78.0 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgflags-dev amd64 2.2.2-1build1 [96.6 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libtcmalloc-minimal4 amd64 2.7-1ubuntu2 [93.0 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind8 amd64 1.2.1-9ubuntu0.1 [47.7 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:14 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools4 amd64 2.7-1ubuntu2 [195 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblzma-dev amd64 5.2.4-1ubuntu1.1 [147 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libunwind-dev amd64 1.2.1-9ubuntu0.1 [472 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 libgoogle-perftools-dev amd64 2.7-1ubuntu2 [445 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:18 http://archive.ubuntu.com/ubuntu focal/universe amd64 libgtest-dev amd64 1.10.0-2 [1583 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:19 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy1v5 amd64 1.1.8-1build1 [16.7 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:20 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb1d amd64 1.22-3ubuntu2 [139 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 libleveldb-dev amd64 1.22-3ubuntu2 [191 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": Get:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotobuf17 amd64 3.6.1.3-2ubuntu5.2 [798 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Get:24 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libprotoc17 amd64 3.6.1.3-2ubuntu5.2 [646 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": Get:28 http://archive.ubuntu.com/ubuntu focal/main amd64 libsnappy-dev amd64 1.1.8-1build1 [29.0 kB] Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": 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-c413d687-3e36-4079-b6b7-c4811fab8436": debconf: delaying package configuration, since apt-utils is not installed Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Fetched 22.9 MB in 1s (37.0 MB/s) Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libicu66:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": (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-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../00-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libxml2:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../01-libxml2_2.9.10+dfsg-5ubuntu0.20.04.10_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libuv1:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../02-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package cmake-data. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../03-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libarchive13:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../04-libarchive13_3.4.0-2ubuntu1.5_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libjsoncpp1:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../05-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package librhash0:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../06-librhash0_1.3.9-1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking librhash0:amd64 (1.3.9-1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package cmake. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../07-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package googletest. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../08-googletest_1.10.0-2_all.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking googletest (1.10.0-2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libgflags2.2. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../09-libgflags2.2_2.2.2-1build1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libgflags-dev. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../10-libgflags-dev_2.2.2-1build1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libgflags-dev (2.2.2-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libtcmalloc-minimal4:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../11-libtcmalloc-minimal4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libunwind8:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../12-libunwind8_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libgoogle-perftools4:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../13-libgoogle-perftools4_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package liblzma-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../14-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libunwind-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../15-libunwind-dev_1.2.1-9ubuntu0.1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libgoogle-perftools-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../16-libgoogle-perftools-dev_2.7-1ubuntu2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libgtest-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../17-libgtest-dev_1.10.0-2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libsnappy1v5:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../18-libsnappy1v5_1.1.8-1build1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libleveldb1d:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../19-libleveldb1d_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libleveldb-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../20-libleveldb-dev_1.22-3ubuntu2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libprotobuf-lite17:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../21-libprotobuf-lite17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libprotobuf17:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../22-libprotobuf17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libprotoc17:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../23-libprotoc17_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package zlib1g-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../24-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libprotobuf-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../25-libprotobuf-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libprotoc-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../26-libprotoc-dev_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package libsnappy-dev:amd64. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../27-libsnappy-dev_1.1.8-1build1_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Selecting previously unselected package protobuf-compiler. Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Preparing to unpack .../28-protobuf-compiler_3.6.1.3-2ubuntu5.2_amd64.deb ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Unpacking protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libtcmalloc-minimal4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libunwind8:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up googletest (1.10.0-2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libsnappy1v5:amd64 (1.1.8-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up librhash0:amd64 (1.3.9-1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libprotobuf17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libgoogle-perftools4:amd64 (2.7-1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libgflags2.2 (2.2.2-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libleveldb1d:amd64 (1.22-3ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libprotoc17:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libgtest-dev:amd64 (1.10.0-2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libunwind-dev:amd64 (1.2.1-9ubuntu0.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up protobuf-compiler (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libleveldb-dev:amd64 (1.22-3ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libarchive13:amd64 (3.4.0-2ubuntu1.5) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libgoogle-perftools-dev:amd64 (2.7-1ubuntu2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libsnappy-dev:amd64 (1.1.8-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libgflags-dev (2.2.2-1build1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up libprotoc-dev:amd64 (3.6.1.3-2ubuntu5.2) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Processing triggers for libc-bin (2.31-0ubuntu9.18) ... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Removing intermediate container 9b966f33b142 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> 992727d4ed62 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Step 3/5 : RUN git clone --depth 1 https://github.com/apache/brpc.git Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> Running in 758297b45997 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Cloning into 'brpc'... Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Removing intermediate container 758297b45997 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> be1ac5dd016e Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Step 4/5 : RUN cp $SRC/brpc/test/fuzzing/oss-fuzz.sh $SRC/build.sh Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> Running in 6657a865aa27 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Removing intermediate container 6657a865aa27 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> d7a3ce6ebb45 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Step 5/5 : WORKDIR $SRC/brpc/ Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> Running in f0f73beed2a7 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Removing intermediate container f0f73beed2a7 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": ---> 9946a0f620e9 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Successfully built 9946a0f620e9 Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Successfully tagged gcr.io/oss-fuzz/brpc:latest Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436": Successfully tagged us-central1-docker.pkg.dev/oss-fuzz/unsafe/brpc:latest Finished Step #1 - "build-c413d687-3e36-4079-b6b7-c4811fab8436" Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/brpc Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filepKQSHN 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=ef82950d172346209db728d8e68522bb5fa489ed Step #2 - "srcmap": + jq_inplace /tmp/filepKQSHN '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "ef82950d172346209db728d8e68522bb5fa489ed" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file7aTrUc Step #2 - "srcmap": + cat /tmp/filepKQSHN Step #2 - "srcmap": + jq '."/src/brpc" = { type: "git", url: "https://github.com/apache/brpc.git", rev: "ef82950d172346209db728d8e68522bb5fa489ed" }' Step #2 - "srcmap": + mv /tmp/file7aTrUc /tmp/filepKQSHN 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/filepKQSHN Step #2 - "srcmap": + rm /tmp/filepKQSHN 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": "ef82950d172346209db728d8e68522bb5fa489ed" 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.3s) Step #3 - "compile-afl-address-x86_64": -- Generating done (0.4s) Step #3 - "compile-afl-address-x86_64": -- Build files have been written to: /src/brpc/build Step #3 - "compile-afl-address-x86_64": ++ nproc Step #3 - "compile-afl-address-x86_64": + make fuzz_butil fuzz_esp fuzz_hpack fuzz_http fuzz_hulu fuzz_json fuzz_redis fuzz_shead fuzz_sofa fuzz_uri --ignore-errors -j32 Step #3 - "compile-afl-address-x86_64": [ 0%] Generating idl_options.pb.h, idl_options.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #3 - "compile-afl-address-x86_64": [ 0%] Generating addressbook_map.pb.h, addressbook_map.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating echo.pb.h, echo.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 brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating grpc.pb.h, grpc.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating health_check.pb.h, health_check.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating iobuf.pb.h, iobuf.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 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": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #3 - "compile-afl-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #3 - "compile-afl-address-x86_64": [ 5%] 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%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.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%] 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%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc 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/base64url.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/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/crash_logging.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/debugger.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/dump_without_crashing.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/debugger_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #3 - "compile-afl-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #3 - "compile-afl-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/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 CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #3 - "compile-afl-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #3 - "compile-afl-address-x86_64": [ 24%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/cancellation_flag.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/condition_variable_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.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 CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #3 - "compile-afl-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #3 - "compile-afl-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 43%] 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 test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #3 - "compile-afl-address-x86_64": /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 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 CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #3 - "compile-afl-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/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 PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #3 - "compile-afl-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.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/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/condition_variable.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/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": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_tracer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/timer_thread.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/encode_decode.cpp.o Step #3 - "compile-afl-address-x86_64": [ 56%] Built target TEST_PROTO_LIB 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_idIn file included from entity = 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: /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:note: 25in 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": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-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 #3 - "compile-afl-address-x86_64": 289 | memse680 | t ( this, _Sp_cp_type(__a._M_a, std::forward<_A0rgs>(__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":  1344si | z: eo_f(*M_tpthri(s),) )_;M_ Step #3 - "compile-afl-address-x86_64": r e| f ^co Step #3 - "compile-afl-address-x86_64": unt(_/src/brpc/src/bvar/detail/sampler.hM:40:_16p:t rnote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": , __tag, s t40d | : : forw Saarmdpl (d_a_argta(), time_us(0) s)...) Step #3 - "compile-afl-address-x86_64": { }|  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64":  |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h::359:1164:: 23: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 herenote:  Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | 359 | : _ _ s h a r eSample(__> tmp; Step #3 - "compile-afl-address-x86_64": | tag, ^s Step #3 - "compile-afl-address-x86_64": td::forwa/src/brpc/src/bvar/detail/sampler.hr:d98<:_Ar9g:s >note: (_in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": _args)... ) Step #3 - "compile-afl-address-x86_64": | 98 | ^ Step #3 - "compile-afl-address-x86_64":   /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h :701 t:14:a ke_samnote: ple(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":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28:701 |   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #3 - "compile-afl-address-x86_64":  retur529n |  sh a r e d _ p t r < _ T p_>sam(p_lSep_ra l= lonecw s_shamared_ptlaeg<_rAIn file included from /src/brpc/src/bthread/semaphore.cpp_ty:p20e: Step #3 - "compile-afl-address-x86_64": (thisIn file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": lIn file included from loc>{__); Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bthread/mutex.ha:}27,: Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h Step #3 - "compile-afl-address-x86_64": | :26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: ^289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset( Step #3 - "compile-afl-address-x86_64": t/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: hinote: 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": s, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": 717| |  ^ Step #3 - "compile-afl-address-x86_64":  retur/src/brpc/src/bvar/detail/sampler.hn s/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning:40 Step #3 - "compile-afl-address-x86_64": :16:t d::alnote: locate_sin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Samplhe() : data(),a rteime_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  289 | d < _ T p memset(this, 0,>(/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": std: 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": :a 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": ll 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ocator<_T/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": p_ 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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: In file included from explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": /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":  sizeof(*thi s289 | )) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (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/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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereIn file included from  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/collector.cpp 53:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h | :289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": _var 289 | me-m>set(thoips(, 0, sizeof(*this))); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": (v1/src/brpc/src/bvar/detail/sampler.h, v2); Step #3 - "compile-afl-address-x86_64": :|  ^40: Step #3 - "compile-afl-address-x86_64": 16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64":  40 | Sa/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": mp 29 | return op(v1, lv2); Step #3 - "compile-afl-address-x86_64": | e ^( Step #3 - "compile-afl-address-x86_64": ) : d/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereata(), Step #3 - "compile-afl-address-x86_64": time_us( 168 |  0  ) { call_op_r}et Step #3 - "compile-afl-address-x86_64": u| rning_void(op, ^ Step #3 - "compile-afl-address-x86_64":  tm/src/brpc/src/bvar/detail/sampler.hp:, 116_:d23:a ta.note: sein instantiation of member function 'bvar::detail::Sample>::Sample' requested herecon Step #3 - "compile-afl-address-x86_64": d (i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 116 |  /src/brpc/src/bvar/detail/series.h : 116 : 16 : Sanote: mpin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herele Step #3 - "compile-afl-address-x86_64": < T> t116m | p ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": return /src/brpc/src/bvar/detail/sampler.ha:p98p:e9n:d _senote: coin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herend Step #3 - "compile-afl-address-x86_64": ( value, 98_ | o p ) ;  Step #3 - "compile-afl-address-x86_64": | t ^a Step #3 - "compile-afl-address-x86_64": ke_sampl/src/brpc/src/bvar/window.he:(65):;25: Step #3 - "compile-afl-address-x86_64": | note: ^ Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:52965: | 28 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here  Step #3 - "compile-afl-address-x86_64": _ser529i | e s . a p p e n d ( _ o w_nesra-m>pgleetr_ v=a /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<1022>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": nleuwe 289 | memset(thi sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": s, 0, sizeof(*t(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:h9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": i 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new /src/brpc/src/bvar/detail/percentile.h:289:16: snote: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": )); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.cpp:64:55S: note: in instantiation of member function 'bvar::detail::PercentileSamples<1022>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 289 64 | std::eu | r i ne s iS qa um epm_lepemtrrs(::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class ileSamples> 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(, sizeof(*thisLa)t)e;nc Step #3 - "compile-afl-address-x86_64": y RecorderB|  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": ase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/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/percentile.h 132 | t h i s ,  0  ,D sizeof(*this)); Step #3 - "compile-afl-address-x86_64": E:132F:INE_13SMALL_ARRAY(uint32_t, tmp, rhs. _|  ^n:um_sa warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]mples,  Step #3 - "compile-afl-address-x86_64": 6 4); Step #3 - "compile-afl-address-x86_64": | |  ^ Step #3 - "compile-afl-address-x86_64":  (void*)/src/brpc/src/butil/macros.h Step #3 - "compile-afl-address-x86_64": :426:42: note:  Step #3 - "compile-afl-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 426 |  c132h | a r  n a m e ##_stack_array[sizeof  ( T pD)E F*I NnEa_mSeM#A#_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": 132 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 <= (maxLsize) ? nL_ame##_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 DEFINE_ | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": SMALL_ARRAY(uint32_t, AtmRp, rhs._num_sampleRAY(uint32_t, tmp, rhs._num_s, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": sam/src/brpc/src/butil/macros.hp:l426e:s, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": 29: /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stnote: ack_array[sizeof(Tp) * expanded from macro 'DEFINE_SMALL_ARRAY'name##_stack_array_siz Step #3 - "compile-afl-address-x86_64": e]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_inter va426l | _ at(i).merge(*r hs._int ervals[ci]h)a;r n Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": am/src/brpc/src/bvar/detail/percentile.he:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": ##_stack_ 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": array[s/src/brpc/src/bvar/window.h:53:17:izeof( note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereTp) * na Step #3 - "compile-afl-address-x86_64": me##_st 53 | ack_array_size]; \ Step #3 - "compile-afl-address-x86_64": | _var- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36>op()(v1: note: , v2);in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  364 | g/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | et_interreturval_at(n op(i).merge(*v1, v2); Step #3 - "compile-afl-address-x86_64": | rhs._i ^ Step #3 - "compile-afl-address-x86_64": ntervals[i])/src/brpc/src/bvar/detail/series.h:168:13: ; 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":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12 168 | : note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | call_op_returning_void(op, tmp, _d ata.second(i) _var);->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1 Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _seri, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_oeps_.returning_appevndo(i_do(owpn,e rt-m>pge,t __vdata.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: alue(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | /src/brpc/src/bvar/window.h:58:9: note:  retin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereu Step #3 - "compile-afl-address-x86_64": r n append_58 | s Seriesecond(vSaalmupele,r (_Wop);in Step #3 - "compile-afl-address-x86_64": d o| w ^B Step #3 - "compile-afl-address-x86_64": ase*/src/brpc/src/bvar/window.h :o65w:25n: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereer, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": 65/src/brpc/src/bvar/window.h | : 151 :35 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": note: In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us( _series.app0) {} 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: 151 | _series_sampler = new SeriesSamplend(_owner->gin instantiation of member function 'bvar::detail::Sample>::Sample' requested hereet Step #3 - "compile-afl-address-x86_64": _value(1 )116) | ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.he/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 here( Step #3 - "compile-afl-address-x86_64": this: 5898: | 9 :   take_sample(); Step #3 - "compile-afl-address-x86_64": | note: ^ Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": /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 #3 - "compile-afl-address-x86_64": SeriesSampler(WindowBa s529e | * o w n e r , R * v_asra)mp Step #3 - "compile-afl-address-x86_64": l e| r ^= Step #3 - "compile-afl-address-x86_64": new /src/brpc/src/bvar/window.hs:a151m:p35l:e r_tnote: ypin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested heree( Step #3 - "compile-afl-address-x86_64": thi s151 | ) ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  _series_sampler = new SeriesSampler(this, _var);/src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-address-x86_64": 289 :| 16: ^ Step #3 - "compile-afl-address-x86_64": note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here289 | Step #3 - "compile-afl-address-x86_64": m49e | mscelta(ssthi s, 0L,a tesniczyeofRe(c*ortdheirsB)a)s;e Step #3 - "compile-afl-address-x86_64": {|  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": |  ^| Step #3 - "compile-afl-address-x86_64":  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": , _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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: 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: note: expanded from herefirst argument in 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": 162289 | | t memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": mp_stack/src/brpc/src/bvar/detail/sampler.h_:a40r:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": ra| y ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23:_ note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": size 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation 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":  98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type([ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o Step #3 - "compile-afl-address-x86_64": this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: In file included from /src/brpc/src/bthread/butex.cpp:35: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 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": 132 | DE/src/brpc/src/bvar/detail/percentile.h:289:16F: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]INE_SM Step #3 - "compile-afl-address-x86_64": A LL_ARRAY(uint32_t, tm289p | , rhs._nu m _ s ammepmlseest,( t6h4is);, Step #3 - "compile-afl-address-x86_64":  | 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | 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/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :153:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 153 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :149:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 149 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); 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/bad_method_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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": :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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/key.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. 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": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.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(int, nums, ngroup, 128); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bthread/task_control.cpp:600: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: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": :117:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 117 | nums_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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 un/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": s 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 6igned na4me##_stack)_array_size = (na;m Step #3 - "compile-afl-address-x86_64": | e ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": ##/src/brpc/src/butil/macros.h:426:29: _size <= (maxsize) ? name##_size : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :169:4261 | :   note: expanded from herec Step #3 - "compile-afl-address-x86_64": har name#169# | _tsmtpa_cskt_aacrkr_aayr[rasyi_zseiozef Step #3 - "compile-afl-address-x86_64": (T p| )^ Step #3 - "compile-afl-address-x86_64": * name##_stIn 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": | a ^c Step #3 - "compile-afl-address-x86_64": k_array_size/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": ]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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": 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/src/brpc/src/bvar/detail/percentile.h: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 316 | 289 | :132:13c: onswarning: t size_tvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": cur_batch = st132 | DEFINE_SMALLd::min(n, BATCH); Step #3 - "compile-afl-address-x86_64": _| AR memset(thisRAY(uint32_t, tmp, , 0, sizeof(*r ^hs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": :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/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_prim/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": itives( 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples_stream, peek_gro, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: up_info(), vanote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": lues, count 426 | ); } Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": char na/src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: me##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 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": 3 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]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/hotspots_service.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :222:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 222 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :218:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 218 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 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": 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 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, s[ 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": izeof(*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/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/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": [ 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_arrayIn 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": si 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": zeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 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": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": _var->op()(v1 ,426 | v char name##_stack_ar2r)a;y[ Step #3 - "compile-afl-address-x86_64":  s| iz ^e Step #3 - "compile-afl-address-x86_64": of(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rh/src/brpc/src/bvar/detail/call_op_returning_void.hs:.29_:i12n:t note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereervals[i]); Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  29 | return op( ^ Step #3 - "compile-afl-address-x86_64": v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herenote:  Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' 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: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(499value, _op); Step #3 - "compile-afl-address-x86_64": |  | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:[ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o Step #3 - "compile-afl-address-x86_64": 65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_own er->get_value ( 1)); Step #3 - "compile-afl-address-x86_64": |  ^ 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/src/brpc/src/bvar/window.h:58:9:53::17: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here 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": 58 53 | | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": _ 49 | vclassa Lr->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": a 29t | encyRecorderB ase retur{n op Step #3 - "compile-afl-address-x86_64": (v 1| , ^ v Step #3 - "compile-afl-address-x86_64": 2); Step #3 - "compile-afl-address-x86_64": |  ^/src/brpc/src/bvar/detail/percentile.h Step #3 - "compile-afl-address-x86_64": :132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression/src/brpc/src/bvar/detail/series.h: Step #3 - "compile-afl-address-x86_64": 168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here132 | Step #3 - "compile-afl-address-x86_64": 168 | D E FI N E c_aSMlALl_oLp__ArReRtAuYr(nuinign_tvoi3d2(_ot,p ,t mtpmp,, _rdhas.t_an.usme_csoand(i))m;pl Step #3 - "compile-afl-address-x86_64": e s| , ^ Step #3 - "compile-afl-address-x86_64": 64);/src/brpc/src/bvar/detail/series.h Step #3 - "compile-afl-address-x86_64": : | 116: ^16: Step #3 - "compile-afl-address-x86_64":  note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here/src/brpc/src/butil/macros.h:426 Step #3 - "compile-afl-address-x86_64": :42: note: 116expanded from macro 'DEFINE_SMALL_ARRAY' | Step #3 - "compile-afl-address-x86_64": 426 | crharetu nramen# #app_enstadc_ks_eacrornad(y[vsailzeuoef,(T p)_ o*p na)m;e# Step #3 - "compile-afl-address-x86_64": # _st| a ^ck Step #3 - "compile-afl-address-x86_64": _array_size/src/brpc/src/bvar/window.h]:65:;25 :  \ Step #3 - "compile-afl-address-x86_64": note: | in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": :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 unsign65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.hed n:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": am 58 | SereiesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": # 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": # 132 | DEFINE_SMALL_ARRAY(uint32_t, _tmp, rhs.s_num_samples, 64); Step #3 - "compile-afl-address-x86_64": tack_array_size |  = ^ Step #3 - "compile-afl-address-x86_64": (/src/brpc/src/butil/macros.hn:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": ame##_size <= ( 426 | m axscihzaer) ? nnaammee####__ssitzaec k:_ ar0ra)y;[ \si Step #3 - "compile-afl-address-x86_64": z e| of ^ Step #3 - "compile-afl-address-x86_64": (Tp) *: 172n:a1m:e ##_note: stexpanded from hereac Step #3 - "compile-afl-address-x86_64": k _array_172s | itzmep]_;s t a c k\_a Step #3 - "compile-afl-address-x86_64": r r| ay ^_ Step #3 - "compile-afl-address-x86_64": size 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": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/dir_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 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": 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/status_service.cpp.o 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_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, _o/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": p); Step #3 - "compile-afl-address-x86_64": |  ^ 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samp Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:les25, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /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 member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here 426 |  Step #3 - "compile-afl-address-x86_64": cha 65 | r name##_stack_array[size _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: oin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heref Step #3 - "compile-afl-address-x86_64": (Tp) * 58n | a me##_s tack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:364:36SeriesS: note: ampler(Windin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested hereowBase* Step #3 - "compile-afl-address-x86_64": owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  364 |  /src/brpc/src/bvar/window.h : 151 : 35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": get_inter 151 | v a l _ a t ( i ) . m_esregrei(e*sr_hssa.m_piler = new SeriesSampler(this,nt _ervar);va Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ls/src/brpc/src/bvar/latency_recorder.h:49:[7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": i 49] | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": )/src/brpc/src/bvar/detail/percentile.h:132:13: note: 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": |  ^ Step #3 - "compile-afl-address-x86_64":  | /src/brpc/src/bvar/detail/percentile.h DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": :499 426 | 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:_12:s izenote:  Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here | Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499132 | :13 :   note:  declared hereb1 Step #3 - "compile-afl-address-x86_64": .mer/src/brpc/src/butil/macros.hg:e425(:20b:2 );note: Step #3 - "compile-afl-address-x86_64":  expanded from macro 'DEFINE_SMALL_ARRAY'|  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53In 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:17:: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 425 |  289 |  c o n s t  muenmssiegtn(edth insam,e ##0_s,t acski_zaerorfay(_*sitzhei s= )()n;am Step #3 - "compile-afl-address-x86_64": e #| #_ ^s Step #3 - "compile-afl-address-x86_64": ize <= (m/src/brpc/src/bvar/detail/sampler.ha:x40s:i16z:e ) ?note: nin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heream Step #3 - "compile-afl-address-x86_64": e##_size 40: |  0  )S;a m\pl Step #3 - "compile-afl-address-x86_64": e (| ) ^: Step #3 - "compile-afl-address-x86_64": data():,215 :t1i:m e_unote: s(expanded from here0 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: 116215: | 23t:m p_stack_note: arin instantiation of member function 'bvar::detail::Sample>::Sample' requested herera Step #3 - "compile-afl-address-x86_64": y_size Step #3 - "compile-afl-address-x86_64": | 116 | ^ Step #3 - "compile-afl-address-x86_64":  Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \2 warnings generated. Step #3 - "compile-afl-address-x86_64":  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/viz_min_js.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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": 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_inte2 warningrvals generated. Step #3 - "compile-afl-address-x86_64": _at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 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": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": _var 364 | get_interval_at(i).merge(-*>rohps._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": (/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": )( 499 | b1.merge(b2);v Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: 1,note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _servies.append(_owner-2>get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(Window)Ba;se* owner, R* 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/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": | 151 |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/call_op_returning_void.h:29 : 12:_series_sample r = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h: 49:29 | 7 :  returnnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here op(v1,  Step #3 - "compile-afl-address-x86_64": v492) | class 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/series.h:168 ^ Step #3 - "compile-afl-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 #3 - "compile-afl-address-x86_64": 168 | /src/brpc/src/bvar/detail/percentile.h:132:13:  note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | cal l _op _returning_void(o DEFINp,E t_Smp, MAL_data.Ls_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": e/src/brpc/src/butil/macros.hco:n426d:(42i:) );note:  Step #3 - "compile-afl-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' | Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:426116 | : 16 : chnote: arin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": nam e##_s116t | a ck _ ar r ay[sizeof(Tp) * name##_stack_array_si return azpep]e; n d _ s e\co Step #3 - "compile-afl-address-x86_64": n |  ^ Step #3 - "compile-afl-address-x86_64": d(value, _:o240p:)1;:  Step #3 - "compile-afl-address-x86_64": | note:  ^expanded from here Step #3 - "compile-afl-address-x86_64": 240 | tmp_s Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25t:a ck_arnote: rain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herey_ Step #3 - "compile-afl-address-x86_64": s ize Step #3 - "compile-afl-address-x86_64": 65| |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :  note:  declared here  Step #3 - "compile-afl-address-x86_64": _se/src/brpc/src/butil/macros.hr:ie425s:20: .apnote: peexpanded from macro 'DEFINE_SMALL_ARRAY'nd Step #3 - "compile-afl-address-x86_64": ( _owner->ge425t | _ v a l uec(on1st)) ;u Step #3 - "compile-afl-address-x86_64": n s| i ^g Step #3 - "compile-afl-address-x86_64": ned name##_stack_ar/src/brpc/src/bvar/window.h:58:9: ray_size = note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": ( nam58e | # # _ s iSzee <=rie (msaSxamspilerz(e)W i?n dnamowe#B#_saiszee *: owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num0_s)a;m p\l Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": es:,236 :1:6 4note: expanded from here Step #3 - "compile-afl-address-x86_64": ); 236 | tmp_stack_array_siz 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/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/channel.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/checksum.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/circuit_breaker.cpp.o 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 2 warnings generated. 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/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 s[ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #3 - "compile-afl-address-x86_64": ampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 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/hotspots_service.cpp:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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_s[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #3 - "compile-afl-address-x86_64": tack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_sec/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": o132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: nd(value, _op); 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/window.h:65:25:  426 | chnote: ain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herer Step #3 - "compile-afl-address-x86_64":  65na | m e##_ stack_ar r a y[s_izeosferies.appe(nd(_owTner->get_p) v*alue( n1)); Step #3 - "compile-afl-address-x86_64": |  ^ame# Step #3 - "compile-afl-address-x86_64": #_stack_ar/src/brpc/src/bvar/window.h:ray_58size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h:9:364 note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here:36: Step #3 - "compile-afl-address-x86_64": 58 | note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 S | e r ie get_intervals_aSat(mpler(WiindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": ) .merge(*rhs._intervals[i]);|  ^ Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/window.h:151:35: note:  ^ Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499: 151 | 12_s: eries_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": DEFINE 499 | _ S b1.meMArge(LbL2_)A;R Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17:R note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": A Y(uint32_t, tmp, rhs._num_53 | samp les, 64);  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h:426:42:_var->op (note: )(expanded from macro 'DEFINE_SMALL_ARRAY'v1 Step #3 - "compile-afl-address-x86_64": , v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 426 | /src/brpc/src/bvar/detail/call_op_returning_void.h :29c:12h:a r note: nain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereme Step #3 - "compile-afl-address-x86_64": ##_stack_a rra29 | y [s i zreeoftu(rTnp )o *p n(avm1e#,# _v2s)t;ack_ Step #3 - "compile-afl-address-x86_64": a r| ray ^_ Step #3 - "compile-afl-address-x86_64": size];  \/src/brpc/src/bvar/detail/series.h:168 Step #3 - "compile-afl-address-x86_64": : 13| : ^ 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": :50:1: 168note: |  expanded from here  Step #3 - "compile-afl-address-x86_64": 50 | ctamlp_sl_otpa_crke_taurrrnaiyn_gs_ivzoeid Step #3 - "compile-afl-address-x86_64": ( | ^ Step #3 - "compile-afl-address-x86_64": op, tmp, _data/src/brpc/src/bvar/detail/percentile.h:132:.13s:ec onnote: d(i))declared here; Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/butil/macros.h ^ Step #3 - "compile-afl-address-x86_64": :425:20: note: /src/brpc/src/bvar/detail/series.hexpanded from macro 'DEFINE_SMALL_ARRAY': Step #3 - "compile-afl-address-x86_64": 116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | 425 | croentstur n uanpspenidg_nseedco nnda(mve#a#l_ue, stac_k_oapr);ray_ Step #3 - "compile-afl-address-x86_64": s i| ze = ^ Step #3 - "compile-afl-address-x86_64": (name##_/src/brpc/src/bvar/window.hs:i65z:e25: <=note: (in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herema Step #3 - "compile-afl-address-x86_64": x size) ?65 | nam e # # _ s i z e :  0_s)e;r i\es Step #3 - "compile-afl-address-x86_64": . a| pp ^e Step #3 - "compile-afl-address-x86_64": nd(_ow:n46e:r1-:> getnote: _vexpanded from herea Step #3 - "compile-afl-address-x86_64": l ue(146 | )t)m;p_ Step #3 - "compile-afl-address-x86_64": s t| ac ^k Step #3 - "compile-afl-address-x86_64": _array/src/brpc/src/bvar/window.h_:s58i:z9e: 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":  Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class Latenc[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #3 - "compile-afl-address-x86_64": yRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/memory_service.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 12 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/load_balancer_with_naming.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.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": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMA2LL_ARRAY( warningsuint generated. Step #3 - "compile-afl-address-x86_64": 32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #3 - "compile-afl-address-x86_64": return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :250:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 250 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :246:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 246 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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##_siIn file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from z/src/brpc/src/brpc/controller.he: 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": 0); \ 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h Step #3 - "compile-afl-address-x86_64": : 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": :215 :40 | 1 :S ampnote: leexpanded from here() Step #3 - "compile-afl-address-x86_64": : data(), tim e215_ | utsm(p_0st)a c{k}_a Step #3 - "compile-afl-address-x86_64": r r| ay ^_ Step #3 - "compile-afl-address-x86_64": size Step #3 - "compile-afl-address-x86_64": | /src/brpc/src/bvar/detail/sampler.h^: Step #3 - "compile-afl-address-x86_64": 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/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": 2 warnings generated. 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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[s2 warnings generated. Step #3 - "compile-afl-address-x86_64": izeof(Tp) * name##_2 warningstack_array_sizes] generated. Step #3 - "compile-afl-address-x86_64": ; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this))expanded from here Step #3 - "compile-afl-address-x86_64": ; 229 | tmp_stack_arra Step #3 - "compile-afl-address-x86_64": y _| si ^z Step #3 - "compile-afl-address-x86_64": e Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-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/sampler.h:40:16 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ?: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/global.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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": 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": 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##_st[ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #3 - "compile-afl-address-x86_64": ack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/http_message.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: 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": 132 | DEFINE_SMALL_ARRAY(uint32_t , tmp, rhs._num_samples, 4266 | 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_ar4); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_rsatya_cski_zaerr Step #3 - "compile-afl-address-x86_64": a y| [^s Step #3 - "compile-afl-address-x86_64": izeof/src/brpc/src/bvar/detail/percentile.h(:T132p:)13 :* nanote: me#declared here#_ Step #3 - "compile-afl-address-x86_64": sta/src/brpc/src/butil/macros.hc:k425_:a20r:r aynote: _expanded from macro 'DEFINE_SMALL_ARRAY'si Step #3 - "compile-afl-address-x86_64": z e]; 425 | \  Step #3 - "compile-afl-address-x86_64": | c ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~o Step #3 - "compile-afl-address-x86_64": nst un/src/brpc/src/bvar/detail/percentile.hs:i364g:n36: ednote: nin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heream Step #3 - "compile-afl-address-x86_64": e##_stack_ a364r | r a y_ s i z e = ( n a m e # #g_esti_zien t:156/src/brpc/src/bvar/detail/percentile.h::1499:: 12: note: expanded from herenote:  Step #3 - "compile-afl-address-x86_64": 156 | tmin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | p_stack_array_size Step #3 - "compile-afl-address-x86_64": | b^1 Step #3 - "compile-afl-address-x86_64": .merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/bvar/detail/percentile.h:132:13: /src/brpc/src/butil/macros.h:426warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": :29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; 132 | \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h :364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | D get_interval_at(i).merge(*rhs._inEtFeIrNvEa_ls[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": SMAL 499 | L_AR b1.merge(b2); Step #3 - "compile-afl-address-x86_64": | RA ^ Step #3 - "compile-afl-address-x86_64": Y/src/brpc/src/bvar/window.h:53:(17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(vu1i, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": n/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": t3 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 2 _t, tm132 | p, rhs._n DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:um_426:samp42le:s, 6 4note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64":  426 | char name##_); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~stack_ar Step #3 - "compile-afl-address-x86_64": ray[sizeof(Tp) * nam/src/brpc/src/butil/macros.h:426:29: e##_stack_arnote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": ra 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_siyze]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": _si/src/brpc/src/bvar/detail/percentile.h:364:36ze: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": ] 364 | ; get_interva l_at(i).merge(*rh s._int erva \ls[i]); 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": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_st/src/brpc/src/bvar/detail/percentile.h:499:12a:c knote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | _ b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: anote: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2);r Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": r 29 | return op(v1, v2);a Step #3 - "compile-afl-address-x86_64": y | _s ^i Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": ze 168 | Step #3 - "compile-afl-address-x86_64": call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25:  | note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 |  _ser^ies.append Step #3 - "compile-afl-address-x86_64": (_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 |  SeriesSampler(WindowBase/src/brpc/src/bvar/detail/percentile.h:* owner,132 R* var) Step #3 - "compile-afl-address-x86_64": :|  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:15113:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": : 151 | _series_samplernote: = new SeriesSampledeclared here Step #3 - "compile-afl-address-x86_64": r(t/src/brpc/src/butil/macros.hhis, :_var)425;: Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 20: 49 | class LatencyRenote: corderBaexpanded from macro 'DEFINE_SMALL_ARRAY'se { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/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 | 425 DEFINE | _SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_s tack_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": const 219 | tmp_stack_aunrray_signed name##_stsize Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": ack_array_s/src/brpc/src/bvar/detail/percentile.h:132:13: note: declared herei Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.hz:425:20:e note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": = 425 |  (connst ame##_unsisgniedze n<= (maxsize) ? naame##_sizme##_staeck _: ar0ray_s)i;z e\ = Step #3 - "compile-afl-address-x86_64": (| na ^m Step #3 - "compile-afl-address-x86_64": e##_siz:e162 <:=1 :( manote: xexpanded from heresi Step #3 - "compile-afl-address-x86_64": z e) ? 162nam | et#m#p__ssitzaec k_:a rr0ay)_;s i\ze Step #3 - "compile-afl-address-x86_64": |  Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 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": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | 289t | memset(mp_tshtias, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": c 40 | Sample() : data(), time_us(0) {} 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 :note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": k132 :11613 | :   warning: _ Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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, sizeofavariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension](*r Step #3 - "compile-afl-address-x86_64": rtahyi_ssi)z)e; Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": | |  ^ Step #3 - "compile-afl-address-x86_64":  132| |  (void*) Step #3 - "compile-afl-address-x86_64":  DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": ^ Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :229:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 229 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :225:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 225 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 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)[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_header.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/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": In file included from /src/brpc/src/butil/macros.h:/src/brpc/src/brpc/cluster_recover_policy.cpp:24425: Step #3 - "compile-afl-address-x86_64": :20: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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:27425 | c: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": on 289 | memset(this, 0, sizeof(*thisst)); Step #3 - "compile-afl-address-x86_64": |  unsigned n ^a Step #3 - "compile-afl-address-x86_64": me##_sta/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: ck_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_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":  116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler =2 new sampler_type(this warning); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": s 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": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :242:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 242 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :238:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 238 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 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/input_messenger.cpp.o 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | In file included from _/src/brpc/src/brpc/channel.cpp:v28: 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": arIn file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": -> 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40o:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": p()(v1/src/brpc/src/bvar/detail/percentile.h, :289:16v:2 ); Step #3 - "compile-afl-address-x86_64": | note: explicitly cast the pointer to silence this warning ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  289/src/brpc/src/bvar/detail/call_op_returning_void.h | : m29:12:e msenote: tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here( Step #3 - "compile-afl-address-x86_64": t his, 029 | ,  s izeoretfur(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": /src/brpc/src/bvar/detail/series.h:168:13 |  (void*) 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": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :194:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 194 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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_sam2 warningple(s 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:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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": [ 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": [ 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :33:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 33 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :29:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 29 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/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/baidu_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consistent_hashing_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/constant_concurrency_limiter.cpp.o Step #3 - "compile-afl-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 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": :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/couchbase_authenticator.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 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :190:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 190 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :186:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 186 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.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/dh.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.cpp:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :170:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 170 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": [ 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": [ 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:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :137:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 137 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :133: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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/periodic_naming_service.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_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: 2 warnings 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": :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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": [ 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": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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": 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": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/list_naming_service.cpp.o Step #3 - "compile-afl-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_s/src/brpc/src/bvar/detail/percentile.h:132:am13:ple swarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": , 132 | DEFINE_SMALL_ARRAY(64ui); Step #3 - "compile-afl-address-x86_64": |  ^nt Step #3 - "compile-afl-address-x86_64": 32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h/src/brpc/src/butil/macros.h:426:42: :426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64":  426 | note:  expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": char name##_stack_array[sizeof( Tp) * name##426_ | st ack_array_size]c; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364ha:36:r note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64":  364 | n a m e g#et_interval_at(i).merge#_(*stacrhs._intervakl_s[ai]rray); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heresizeof Step #3 - "compile-afl-address-x86_64": (Tp) * nam e499 | b1#.merge(b2); Step #3 - "compile-afl-address-x86_64": # |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: _in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _vsarta->cokp_(a)r(rva1y,_ svi2z)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/call_op_returning_void.h Step #3 - "compile-afl-address-x86_64": :29:12: :219note: :1in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here:  Step #3 - "compile-afl-address-x86_64":  note: expanded from here Step #3 - "compile-afl-address-x86_64": 29 | retu219r | ntm po_ps(tva1c,k _va2r)r;ay Step #3 - "compile-afl-address-x86_64": _ s| iz ^e Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64":  | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: /src/brpc/src/bvar/detail/percentile.h:132note: :13in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here:  Step #3 - "compile-afl-address-x86_64":  note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: 168 | expanded from macro 'DEFINE_SMALL_ARRAY'  Step #3 - "compile-afl-address-x86_64": call_425o | p _ r e tucronninsgt_v oiudn(soigp, tnmepd, _ndaamtea#.#s_esctoancdk(_ia)r)r;ay Step #3 - "compile-afl-address-x86_64": _ s| iz ^e Step #3 - "compile-afl-address-x86_64": = (nam/src/brpc/src/bvar/detail/series.he:#116#:_16s:i zenote: , bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here= (maxs Step #3 - "compile-afl-address-x86_64": i ze) ? nam116e# | #_ s i z e r:e tu0rn); a\pp Step #3 - "compile-afl-address-x86_64": e n| d_ ^s Step #3 - "compile-afl-address-x86_64": econd:(215v:a1l:u e, note: _expanded from hereop Step #3 - "compile-afl-address-x86_64": ) ; Step #3 - "compile-afl-address-x86_64": |  ^215 Step #3 - "compile-afl-address-x86_64": | tmp_s/src/brpc/src/bvar/window.ht:a65c:k25_:a rranote: yin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": _siz65e |  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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/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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/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/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": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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: 2 warnings generated. Step #3 - "compile-afl-address-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/domain_naming_service.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :141:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 141 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :137:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 137 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": |  ^In file included from Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26/src/brpc/src/bvar/detail/percentile.h:132:13: : Step #3 - "compile-afl-address-x86_64": note: /src/brpc/src/bvar/detail/percentile.h:initializer of 'tmp_stack_array_size' is not a constant expression289:16: warning: first argument in 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": 132 | DEFINE_SMALL_A R289R | A Y ( u i n t 3 2m_etm,s ettm(p,t hrihss.,_ nu0m_,s amspilzeeso,f (6*4t)h;is Step #3 - "compile-afl-address-x86_64":  )| ); ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 426 | 40 |  c h aSram pnlaem(e)# #:_ sdtaatcak(_)a,r rtaiym[e_suisz(eo0f)( T{p}) Step #3 - "compile-afl-address-x86_64": * | na ^m Step #3 - "compile-afl-address-x86_64": e##_stack/src/brpc/src/bvar/detail/sampler.h_:a116r:r23a:y _sinote: zein instantiation of member function 'bvar::detail::Sample>::Sample' requested here]; Step #3 - "compile-afl-address-x86_64": \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  :116203 | : 1 :   note:  expanded from here  Step #3 - "compile-afl-address-x86_64": Sample tmp; 203 Step #3 - "compile-afl-address-x86_64": | t| mp ^_ Step #3 - "compile-afl-address-x86_64": stack_array/src/brpc/src/bvar/detail/sampler.h_:s98i:z9e: Step #3 - "compile-afl-address-x86_64":  | note: ^in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:  98note: |  declared here  Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h : 425t:a20k:e_ sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(thisnote: ); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const uns/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warningign Step #3 - "compile-afl-address-x86_64": e 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": d name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": :183:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 183 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :179:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 179 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 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 SeriesSamp[ 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": ler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 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": In file included from /src/brpc/src/brpc/policy/file_naming_service.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from _series/src/brpc/src/bthread/bthread.h_samp:ler32 = : Step #3 - "compile-afl-address-x86_64": nIn file included from ew/src/brpc/src/bthread/mutex.h :S27eriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": : Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:/src/brpc/src/bvar/latency_recorder.h28:49: Step #3 - "compile-afl-address-x86_64": In file included from :7:/src/brpc/src/bvar/latency_recorder.h note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": :26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 49 | class 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 |  Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | L a t e n c y R eScaomrple tmp; Step #3 - "compile-afl-address-x86_64": e| rB ^a Step #3 - "compile-afl-address-x86_64": s/src/brpc/src/bvar/detail/sampler.he:98:9:  {note:  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":  ^ Step #3 - "compile-afl-address-x86_64":  98 | take_sampl/src/brpc/src/bvar/detail/percentile.he:(132):;13: Step #3 - "compile-afl-address-x86_64": | 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": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 132 | 529 | _ s a m p lDeEr FINE_SMA=L L_nAeRwRA Ys(aumipnlte3r2__tty,p et(mtphis); Step #3 - "compile-afl-address-x86_64": | , ^r Step #3 - "compile-afl-address-x86_64": hs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, size426of | (*th isc)h)a;r Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) 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": :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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _da2 warnings generated. Step #3 - "compile-afl-address-x86_64": ta.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": | /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": 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/src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": :84/src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": :35: 425 | const unsigned name##_snote: tack_array_size = (name##_size <= (initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 84 | char header_andm_maxsize) ? neame##_size : 0); \t Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1a[12 + met: note: expanded from herea_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 Step #3 - "compile-afl-address-x86_64":  uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :161:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 161 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :157:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 157 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o 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": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/discovery_naming_service.cpp:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:30: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 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": 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/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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/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 SeriesSaIn 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:m26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": pler(thi 289 | memset(thiss, 0, sizeof(*this));, _var Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": );/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64":  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": :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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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 /src/brpc/src/bvar/detail/percentile.hna:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": me##_ 132 | DEFINE_sSMtack_arALLray_si_ARRAY(uint32_t, tmze p,= rhs._num_sample(nas,me##_s 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.hize:426 <=:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": (maxsize) 426 | char? name# nam#_size##_stacke : 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": _array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 3 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": 2 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_randomized_load_balancer.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13In 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": note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/locality_aware_load_balancer.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": [ 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": 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 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": | 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": ._num_samples, 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:/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ name##_stack_array[si Step #3 - "compile-afl-address-x86_64": zeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 2 warnings generated. 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #3 - "compile-afl-address-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #3 - "compile-afl-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #3 - "compile-afl-address-x86_64": 582 | SerializeHuluHeaderAndMeta(&res_buf, request_meta, 0); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #3 - "compile-afl-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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/src/brpc/src/bvar/detail/percentile.h:132:13 Step #3 - "compile-afl-address-x86_64": : warning:  variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]499 | Step #3 - "compile-afl-address-x86_64": b1.merge 132 | DEFINE_SMALL_ARRAY(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": (uint32_t, tmp, rhs._n/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": um_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426: 53 | _var->o29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": p()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12:  426 | char name##_stack_arranote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": 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/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | : note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | call_op_returning_void(op, tmp, _data.seco get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": nd(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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/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 warningIn file included from  Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/nshead_protocol.cpp:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | m289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | e Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": ms 116 | Samplee tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": t (| t ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": his, 0, 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.cpp:23: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 22 289 | memset(this, 0, si: Step #3 - "compile-afl-address-x86_64": zIn file included from e/src/brpc/src/brpc/protocol.ho:f32: Step #3 - "compile-afl-address-x86_64": (In file included from */src/brpc/src/brpc/socket_id.h:t25h: Step #3 - "compile-afl-address-x86_64": iIn file included from s)); 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/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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]);2 Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": warnings generated. Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | 2 warnings generated. Step #3 - "compile-afl-address-x86_64": _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": :  426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_sinote: ze]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here 364 | get_interval_at(i).merge(*rhs._ Step #3 - "compile-afl-address-x86_64": int 53erv | al _var->op()(v1, s[v2)i; 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:499:/src/brpc/src/bvar/detail/call_op_returning_void.h12::29 :12:note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herenote: Step #3 - "compile-afl-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 499 | b 1.m29 | reterurn op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168g:13e:( bnote: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op,2); tmp, _da Step #3 - "compile-afl-address-x86_64": t a| .second(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/window.h:53:17: /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herenote: Step #3 - "compile-afl-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53116 | | return append_second(va lue , __vop); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": ar->op/src/brpc/src/bvar/window.h:(65:25: note: )in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65(v1 | , v2); Step #3 - "compile-afl-address-x86_64": _serie |  ^ Step #3 - "compile-afl-address-x86_64": s/src/brpc/src/bvar/detail/call_op_returning_void.h.appe:nd(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | S29:e12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": r 29 | i e sSampler(WindoretwBause* rn owop(v1, nev2r);, R Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": * /src/brpc/src/bvar/detail/series.h:v168a:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": r) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | 168 | _series_ csampler = newal Seril_oesSamplp_retuerrni(thisng_, vo_var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: idnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": (op, tmp 49 | class LatencyR,ecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132: _13: datnote: a.initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": second(i 132 | ) DEFINE_SMALL_ARRAY)(u;in Step #3 - "compile-afl-address-x86_64": t32_t, tmp, |  ^ Step #3 - "compile-afl-address-x86_64": rhs._num_sam/src/brpc/src/bvar/detail/series.h:116:16: note: ples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_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 instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampl2er(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h: warning49s: generated7. 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": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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:/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": note:  132 | DEFINE_SMALL_declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.hARRAY(uint32_t, tmp, rhs:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": ._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: 425 | const unsigned name#note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": #_stack_array_size = (name##_size <= (maxsize) ? nam426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e##_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 | t Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": mp_stack_array 364 | _size get_interval_at(i).mer Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": ge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :223:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 223 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis.cpp.o Step #3 - "compile-afl-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #3 - "compile-afl-address-x86_64": 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": 2 warning/src/brpc/src/bvar/detail/sampler.hs: generated. Step #3 - "compile-afl-address-x86_64": 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 1933 | char buf[mh.message_length]; // safe to put on stack. Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1933:14: note: function parameter 'mh' with unknown value cannot be used in a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1927:30: note: declared here Step #3 - "compile-afl-address-x86_64": 1927 | const RtmpMessageHeader& mh, butil::IOBuf* msg_body, Socket* socket) { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": [ 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/reloadable_flags.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. 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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": /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 |  /src/brpc/src/bvar/detail/percentile.h : 132:c13o:n stwarning: uivariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]nt32_t meta_size = G Step #3 - "compile-afl-address-x86_64": etProtobufByteSize(meta) ;132 | Step #3 - "compile-afl-address-x86_64": | DEFI ^NE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64":  426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": :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": 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": 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": 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 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/selective_channel.cpp.o 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": 2 warnings generated. 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_response.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 | mems[ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #3 - "compile-afl-address-x86_64": et(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 4 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": :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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o 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": [ 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/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/span.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 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, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/stream.cpp.o Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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) ? nam3 warnings generated. Step #3 - "compile-afl-address-x86_64": e##_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 LatencyRecorde[ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.cpp.o Step #3 - "compile-afl-address-x86_64": rBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": :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": [ 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 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/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: In file included from note: /src/brpc/src/brpc/rpc_dump.cpp:in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here26: Step #3 - "compile-afl-address-x86_64": 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 :65 |   warning:   first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  Step #3 - "compile-afl-address-x86_64": _series.append(_owner->g e289t | _ v a l u e (  1me)m)s;et Step #3 - "compile-afl-address-x86_64": ( | th ^i Step #3 - "compile-afl-address-x86_64": s/src/brpc/src/bvar/window.h:,58 :90: , note: siin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereze Step #3 - "compile-afl-address-x86_64": of(*this )58) | ;  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": Serie/src/brpc/src/bvar/detail/sampler.hs:S40a:m16p:l er(note: Wiin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herend Step #3 - "compile-afl-address-x86_64": owB a40s | e * o wSnaemrp,l eR(*) v:a rd)at Step #3 - "compile-afl-address-x86_64": a (| ), ^ Step #3 - "compile-afl-address-x86_64": time_us(/src/brpc/src/bvar/window.h0:151): 35{:}  Step #3 - "compile-afl-address-x86_64":  note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here ^ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here 151 Step #3 - "compile-afl-address-x86_64": | _116s | e r i e s _ s a m p l e rS a=m plnee Stemrpi;es Step #3 - "compile-afl-address-x86_64": S a| mp ^l Step #3 - "compile-afl-address-x86_64": er(th/src/brpc/src/bvar/detail/sampler.hi:s98:,9 :_ varnote: );in instantiation 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": 98 |  /src/brpc/src/bvar/latency_recorder.h : 49 : 7t:a ke_note: sain instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heremp Step #3 - "compile-afl-address-x86_64": le(); Step #3 - "compile-afl-address-x86_64": | 49 ^ | Step #3 - "compile-afl-address-x86_64": cla/src/brpc/src/bvar/detail/percentile.hs:s529: 28L:a tennote: cyin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereRe Step #3 - "compile-afl-address-x86_64": corde r529B | a s e {  Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": _s/src/brpc/src/bvar/detail/percentile.ha:m132p:l13e:r = note: ninitializer of 'tmp_stack_array_size' is not a constant expressionew Step #3 - "compile-afl-address-x86_64":  sampler_type(thi s132 |  ) ;  Step #3 - "compile-afl-address-x86_64": | D ^E Step #3 - "compile-afl-address-x86_64": FINE_SMALL_ARRAY(uint32_t, tmp, rhs._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.h42::289 :16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 289 | memset(this 426, |  0  , chsairze onfam(e*##t_hsitsac)k)_;ar Step #3 - "compile-afl-address-x86_64": r a| y[ ^ Step #3 - "compile-afl-address-x86_64": si z| eo (void*)f Step #3 - "compile-afl-address-x86_64": (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": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in 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 warning s generatedr. Step #3 - "compile-afl-address-x86_64": eturn append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 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": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 398 | CallId ids[_nalloc]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :219:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 219 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :215:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 215 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :14:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 14 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :10:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 10 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 575 | DEFINE_SMALL_ARRAY(char, cont_buf, buf.size(), 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: initializer of 'cont_buf_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :71:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 71 | cont_buf_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :67:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 67 | cont_buf_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :84:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 84 | rbsp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :80:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 80 | rbsp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":  |  (void*) Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :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/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": 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :183:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 183 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :179:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 179 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :185:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 185 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :181:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 181 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :166:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 166 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": :162:1: note: expanded from here Step #3 - "compile-afl-address-x86_64": 162 | tmp_stack_array_size Step #3 - "compile-afl-address-x86_64": | ^ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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/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/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": /src/brpc/src/brpc/server.cpp:2003:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 2003 | char buf[fullname_len]; Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2003:18: note: initializer of 'fullname_len' is not a constant expression Step #3 - "compile-afl-address-x86_64": /src/brpc/src/brpc/server.cpp:2000:18: note: declared here Step #3 - "compile-afl-address-x86_64": 2000 | const size_t fullname_len = service_name.size() + 1 + method_name.size(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/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/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": 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": /src/brpc/src/bvar/detail/percentile.h: 132426: | 13 :  warning: chavariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]r Step #3 - "compile-afl-address-x86_64": name##_stack_array[sizeof 132( | T p ) * n a m e # # _DsEtFaIcNkE__aSrMrAaLyL__sAiRzReA]Y;( u i n t 3 2\_t Step #3 - "compile-afl-address-x86_64": , | tm ^p Step #3 - "compile-afl-address-x86_64": , rhs._:n204u:m1_:s amnote: pexpanded from herele Step #3 - "compile-afl-address-x86_64": s, 6 4204 | )t;mp Step #3 - "compile-afl-address-x86_64": _ s| ta ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c Step #3 - "compile-afl-address-x86_64": k_arr/src/brpc/src/butil/macros.ha:y426_:s29i:z e 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:132:13: note:  declared here426 | Step #3 - "compile-afl-address-x86_64":  /src/brpc/src/butil/macros.h : 425:c20h:a r note: naexpanded from macro 'DEFINE_SMALL_ARRAY'me Step #3 - "compile-afl-address-x86_64": ##_stack_array[size o425f |  ( T p ) c*o nnsatme ##u_nsstiagcnke_dar rnaaym_es#i#z_es]t;a c k _ a r r\ay Step #3 - "compile-afl-address-x86_64": _ s| iz ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #3 - "compile-afl-address-x86_64": = (name/src/brpc/src/bvar/detail/percentile.h#:#364_:s36i:z e ::merge<254UL>' requested here(m Step #3 - "compile-afl-address-x86_64": axsize) ? name##_size : 0); \364 | Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64":   : 200 : 1 :  gnote: etexpanded from here_i Step #3 - "compile-afl-address-x86_64": nter 200v | atlm_pa_ts(tia)c.km_earrgrea(y*_rshisz.e_i Step #3 - "compile-afl-address-x86_64": n t| er^v Step #3 - "compile-afl-address-x86_64": als[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #3 - "compile-afl-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #3 - "compile-afl-address-x86_64": 499 | b1.merge(b2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #3 - "compile-afl-address-x86_64": 53 | _var->op()(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #3 - "compile-afl-address-x86_64": 29 | return op(v1, v2); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #3 - "compile-afl-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #3 - "compile-afl-address-x86_64": 116 | return append_second(value, _op); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #3 - "compile-afl-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #3 - "compile-afl-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #3 - "compile-afl-address-x86_64": 49 | class LatencyRecorderBase { Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #3 - "compile-afl-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #3 - "compile-afl-address-x86_64": 426 | 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": 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": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": 7 warnings generated. Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": 3 warnings generated. Step #3 - "compile-afl-address-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #3 - "compile-afl-address-x86_64": [ 97%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #3 - "compile-afl-address-x86_64": [100%] Linking CXX executable fuzz_butil Step #3 - "compile-afl-address-x86_64": [100%] Built target fuzz_butil Step #3 - "compile-afl-address-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 13%] Built target PROTO_LIB Step #3 - "compile-afl-address-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #3 - "compile-afl-address-x86_64": [100%] Built target brpc-static-debug Step #3 - "compile-afl-address-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #3 - "compile-afl-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #3 - "compile-afl-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #3 - "compile-afl-address-x86_64": 116 | Sample tmp; Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #3 - "compile-afl-address-x86_64": 98 | take_sample(); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #3 - "compile-afl-address-x86_64": 529 | _sampler = new sampler_type(this); Step #3 - "compile-afl-address-x86_64": |  ^ Step #3 - "compile-afl-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #3 - "compile-afl-address-x86_64": 289 | memset(this, 0, 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": 8191d55aa0eb: Already exists Step #4 - "build-check-afl-address-x86_64": af8195cbbb6b: Already exists Step #4 - "build-check-afl-address-x86_64": 9faeb3a7527b: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6f1a9fbec825: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c1650d221f1e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a14c8018ebca: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": d58435a704bf: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 1876978f3794: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": fcbc0883f300: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0bfa1f6e664e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": e6f813bdb64f: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 51df6301469f: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 763efaef5c41: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 210cb494a44a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 7fd2d945b5e9: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": c3f973978c84: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 334f7ee04467: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 3da5b7723bf4: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": fe7031b18c91: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 919645da92ef: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 8b299c5d5c98: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 41e1c788f06d: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": b974e3615f7a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 51df6301469f: Waiting Step #4 - "build-check-afl-address-x86_64": 32aa3bdb989f: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 763efaef5c41: Waiting Step #4 - "build-check-afl-address-x86_64": f4ae14bc23f3: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 210cb494a44a: Waiting Step #4 - "build-check-afl-address-x86_64": 7fd2d945b5e9: Waiting Step #4 - "build-check-afl-address-x86_64": 334f7ee04467: Waiting Step #4 - "build-check-afl-address-x86_64": c3f973978c84: Waiting Step #4 - "build-check-afl-address-x86_64": 3da5b7723bf4: Waiting Step #4 - "build-check-afl-address-x86_64": fe7031b18c91: Waiting Step #4 - "build-check-afl-address-x86_64": 919645da92ef: Waiting Step #4 - "build-check-afl-address-x86_64": 8b299c5d5c98: Waiting Step #4 - "build-check-afl-address-x86_64": 41e1c788f06d: Waiting Step #4 - "build-check-afl-address-x86_64": b974e3615f7a: Waiting Step #4 - "build-check-afl-address-x86_64": 32aa3bdb989f: Waiting Step #4 - "build-check-afl-address-x86_64": fcbc0883f300: Waiting Step #4 - "build-check-afl-address-x86_64": 0bfa1f6e664e: Waiting Step #4 - "build-check-afl-address-x86_64": a14c8018ebca: Waiting Step #4 - "build-check-afl-address-x86_64": e6f813bdb64f: Waiting Step #4 - "build-check-afl-address-x86_64": d58435a704bf: Waiting Step #4 - "build-check-afl-address-x86_64": f4ae14bc23f3: Waiting Step #4 - "build-check-afl-address-x86_64": c1650d221f1e: Download complete Step #4 - "build-check-afl-address-x86_64": 9faeb3a7527b: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6f1a9fbec825: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6f1a9fbec825: Download complete Step #4 - "build-check-afl-address-x86_64": d58435a704bf: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": d58435a704bf: Download complete Step #4 - "build-check-afl-address-x86_64": 9faeb3a7527b: Pull complete Step #4 - "build-check-afl-address-x86_64": a14c8018ebca: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a14c8018ebca: Download complete Step #4 - "build-check-afl-address-x86_64": fcbc0883f300: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": fcbc0883f300: Download complete Step #4 - "build-check-afl-address-x86_64": 0bfa1f6e664e: Download complete Step #4 - "build-check-afl-address-x86_64": e6f813bdb64f: Download complete Step #4 - "build-check-afl-address-x86_64": 6f1a9fbec825: Pull complete Step #4 - "build-check-afl-address-x86_64": c1650d221f1e: Pull complete Step #4 - "build-check-afl-address-x86_64": 763efaef5c41: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 763efaef5c41: Download complete Step #4 - "build-check-afl-address-x86_64": 1876978f3794: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 1876978f3794: Download complete Step #4 - "build-check-afl-address-x86_64": 210cb494a44a: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 210cb494a44a: Download complete Step #4 - "build-check-afl-address-x86_64": a14c8018ebca: Pull complete Step #4 - "build-check-afl-address-x86_64": 7fd2d945b5e9: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 7fd2d945b5e9: Download complete Step #4 - "build-check-afl-address-x86_64": 334f7ee04467: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 334f7ee04467: Download complete Step #4 - "build-check-afl-address-x86_64": d58435a704bf: Pull complete Step #4 - "build-check-afl-address-x86_64": 51df6301469f: Download complete Step #4 - "build-check-afl-address-x86_64": fe7031b18c91: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": fe7031b18c91: Download complete Step #4 - "build-check-afl-address-x86_64": 919645da92ef: Download complete Step #4 - "build-check-afl-address-x86_64": c3f973978c84: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": c3f973978c84: Download complete Step #4 - "build-check-afl-address-x86_64": 8b299c5d5c98: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 8b299c5d5c98: Download complete Step #4 - "build-check-afl-address-x86_64": 3da5b7723bf4: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 3da5b7723bf4: Download complete Step #4 - "build-check-afl-address-x86_64": b974e3615f7a: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": b974e3615f7a: Download complete Step #4 - "build-check-afl-address-x86_64": 32aa3bdb989f: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 32aa3bdb989f: Download complete Step #4 - "build-check-afl-address-x86_64": f4ae14bc23f3: Download complete Step #4 - "build-check-afl-address-x86_64": 1876978f3794: Pull complete Step #4 - "build-check-afl-address-x86_64": fcbc0883f300: Pull complete Step #4 - "build-check-afl-address-x86_64": 0bfa1f6e664e: Pull complete Step #4 - "build-check-afl-address-x86_64": e6f813bdb64f: Pull complete Step #4 - "build-check-afl-address-x86_64": 41e1c788f06d: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 41e1c788f06d: Download complete Step #4 - "build-check-afl-address-x86_64": 51df6301469f: Pull complete Step #4 - "build-check-afl-address-x86_64": 763efaef5c41: Pull complete Step #4 - "build-check-afl-address-x86_64": 210cb494a44a: Pull complete Step #4 - "build-check-afl-address-x86_64": 7fd2d945b5e9: Pull complete Step #4 - "build-check-afl-address-x86_64": c3f973978c84: Pull complete Step #4 - "build-check-afl-address-x86_64": 334f7ee04467: Pull complete Step #4 - "build-check-afl-address-x86_64": 3da5b7723bf4: Pull complete Step #4 - "build-check-afl-address-x86_64": fe7031b18c91: Pull complete Step #4 - "build-check-afl-address-x86_64": 919645da92ef: Pull complete Step #4 - "build-check-afl-address-x86_64": 8b299c5d5c98: Pull complete Step #4 - "build-check-afl-address-x86_64": 41e1c788f06d: Pull complete Step #4 - "build-check-afl-address-x86_64": b974e3615f7a: Pull complete Step #4 - "build-check-afl-address-x86_64": 32aa3bdb989f: Pull complete Step #4 - "build-check-afl-address-x86_64": f4ae14bc23f3: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:a4b8adbd7ab81b181b9e554ec3b7ce2f67be46aafce16a8a85742a2cf10dc741 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/tmpkhzznww1/fuzz_json Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_shead Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_butil Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_esp Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_redis Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_hpack Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_http Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_hulu Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/fuzz_uri Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkhzznww1/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: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 7eb39101e508: Waiting Step #7: 89257482f398: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 6b33fd031fac: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 147 0 0 100 147 0 764 --:--:-- --:--:-- --:--:-- 765 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 67 206M 0 0 67 140M 0 172M 0:00:01 --:--:-- 0:00:01 172M 100 206M 0 0 100 206M 0 146M 0:00:01 0:00:01 --:--:-- 147M 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 425 --:--:-- --:--:-- --:--:-- 426 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 142 --:--:-- --:--:-- --:--:-- 143 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.3s) 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 idl_options.pb.h, idl_options.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 0%] Generating brpc/get_favicon.pb.h, brpc/get_favicon.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 v3.pb.h, v3.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/nshead_meta.pb.h, brpc/nshead_meta.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 addressbook_encode_decode.pb.h, addressbook_encode_decode.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 grpc.pb.h, grpc.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating health_check.pb.h, health_check.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 message.pb.h, message.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 repeated.pb.h, repeated.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating brpc/span.pb.h, brpc/span.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Generating v2.pb.h, v2.pb.cc Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] 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%] 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/dmg_fp/dtoa_wrapper.cc.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 C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dynamic_annotations/dynamic_annotations.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/icu/icu_utf.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building C object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/superfasthash/superfasthash.c.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/modp_b64/modp_b64.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/demangle.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/symbolize/symbolize.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/snappy/snappy-sinksource.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 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/arena.cpp.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/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/environment.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": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 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 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": [ 27%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.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 test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.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 test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.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 test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 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": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 312 | auto& s = rec.MetaAt(i); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": /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: [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #12 - "compile-honggfuzz-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 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/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": 1 warning generated. 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": 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/execution_queue.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/fd.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/id.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/interrupt_pthread.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/key.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/rwlock.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/mutex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/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/bthread/countdown_event.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/semaphore.cpp:20 |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, 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/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 =In file included from /src/brpc/src/bthread/rwlock.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/rwlock.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h Eleme:27n: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: tTpfirst argument in 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":  289 | memset(this/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": 0, sizeof(*this 680)); Step #12 - "compile-honggfuzz-address-x86_64": | |  _Sp ^ Step #12 - "compile-honggfuzz-address-x86_64": _cp_type(__a._M_a, std::forward/src/brpc/src/bvar/detail/sampler.h<_Args:40>(__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,:16 st: note: d:in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here:forwa Step #12 - "compile-honggfuzz-address-x86_64": rd<_Args>(__args)...) Step #12 - "compile-honggfuzz-address-x86_64": |  ^40 | Step #12 - "compile-honggfuzz-address-x86_64":  In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: Safirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]mp Step #12 - "compile-honggfuzz-address-x86_64": le() : data(), time 289 | _us( memset(this, /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: 0note: , 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": sizeo 359 | : __sharef(*0thi) s{)); Step #12 - "compile-honggfuzz-address-x86_64": }| d Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  note: /src/brpc/src/bvar/detail/sampler.hin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here:116 Step #12 - "compile-honggfuzz-address-x86_64": :23: _pt r40< | _ Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": note: 116 | T pS>a(m_p_ltea tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here 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": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.hs:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": t 529 | d: _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 116 | : f or w a r d < _ ASr/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": gasm 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": pl>(e__r gtsm).p.;.) Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:/src/brpc/src/bvar/detail/sampler.h701::9814::9 : note: 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 herein instantiation 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 | 701 | t a k e _sraemtpluer(n) ;sh Step #12 - "compile-honggfuzz-address-x86_64": a r| ed ^_ Step #12 - "compile-honggfuzz-address-x86_64": ptr<_T/src/brpc/src/bvar/detail/percentile.hp:>529(:_28S:p _alnote: loin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested herec_ Step #12 - "compile-honggfuzz-address-x86_64": s hared_tag<_Alloc>{529_ | _ a } ,  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  _samp/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.hl:e717r: = 19n:e w note: sin 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 hereamp Step #12 - "compile-honggfuzz-address-x86_64": l er_type(this717 | ) ;  Step #12 - "compile-honggfuzz-address-x86_64":  r| et ^u Step #12 - "compile-honggfuzz-address-x86_64": rn std::allocate_shared<_Tp>(std::allocator(note: ), Step #12 - "compile-honggfuzz-address-x86_64":  explicitly cast the pointer to silence this warning|  Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:89:22: note: 289in 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 | m emse : _combt(inetrh(isst,d :0:m,a kes_iszheaorfe(*d| () ^) Step #12 - "compile-honggfuzz-address-x86_64": , _| sa (void*)m Step #12 - "compile-honggfuzz-address-x86_64": pler(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": /src/brpc/src/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 hereIn 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": Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 40 | Sample() : data(), | time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h :116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | _v ar ->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | 29 | return op(v1 ta, v2); Step #12 - "compile-honggfuzz-address-x86_64": | ke_s ^ample( Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": ); 168 |  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529: 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": 28 : note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h ca 529ll_o:p | _retu 28 _samplerr =: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26n: Step #12 - "compile-honggfuzz-address-x86_64": ewni /src/brpc/src/bvar/detail/percentile.hsampnler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | :289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": g_voi 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": d/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": ( 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": op, 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, _dat 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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 /src/brpc/src/bvar/detail/percentile.h:=132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | (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_arr DEFINE_SMALL_ARRAY(uint32ay_t,_ tmp, rhs._num_samples, 64); 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/butil/macros.h:426: Step #12 - "compile-honggfuzz-address-x86_64": 29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_a memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": r |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": ray_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :176:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 176 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :172:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 172 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: /src/brpc/src/bvar/detail/percentile.hvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]: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": 132 289 | | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | ch a rmemset (nthaimse#,# _s0tack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h: 28 : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h : 26: Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h : 289 : 16g:e twarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": _interval _289a | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": t(i).merge(*rhs,._ instiezrevoafls([*i]t)h;is Step #12 - "compile-honggfuzz-address-x86_64":  )| ); ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, 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/bthread.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16In 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": note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 289 98 | take | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _s/src/brpc/src/bvar/detail/sampler.ha:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": m 116 | Samplep tmp; Step #12 - "compile-honggfuzz-address-x86_64": (| ); ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98: Step #12 - "compile-honggfuzz-address-x86_64": 9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here | Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64":  98 | take_sample();/src/brpc/src/bvar/detail/percentile.h Step #12 - "compile-honggfuzz-address-x86_64": | : ^ Step #12 - "compile-honggfuzz-address-x86_64": 529/src/brpc/src/bvar/detail/percentile.h:529:28: note: :28:in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": note: 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :153:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 153 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :149:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 149 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/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[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/baidu_master_service.cpp.o 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":  |  (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/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": [ 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": 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": :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) ? na[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": me##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": 2 warnings generated. 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | Ser/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": iesSa 132 | mpler(WindowBase* o DEFINE_SMALL_ARRwner, R* vaAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | r SeriesS) Step #12 - "compile-honggfuzz-address-x86_64": | ampler( ^ Step #12 - "compile-honggfuzz-address-x86_64": WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151: 132 | 35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_samp DEFINE_SMALL_ARRAY(uinlt3e2r_ t=, tnmepw, rhs._num_sampleSeriesSasm,p l[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 64); Step #12 - "compile-honggfuzz-address-x86_64": | er(this ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, Step #12 - "compile-honggfuzz-address-x86_64": _var);/src/brpc/src/butil/macros.h: Step #12 - "compile-honggfuzz-address-x86_64": 426 :| 29: ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class Lat426encyRecord | ecrhBaarse n{am Step #12 - "compile-honggfuzz-address-x86_64": e #| #_s ^t Step #12 - "compile-honggfuzz-address-x86_64": ack_ar/src/brpc/src/bvar/detail/percentile.hra:y132[:13:si zeonote: finitializer of 'tmp_stack_array_size' is not a constant expression(T Step #12 - "compile-honggfuzz-address-x86_64": p) * 132n | a m e # #_ s t ackD_EaFrIrNayE__sSizeM]A; L L _AR\ Step #12 - "compile-honggfuzz-address-x86_64": R | AY(uint32_t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": , tmp,/src/brpc/src/bvar/detail/percentile.h:364 r:h36s:. _nunote: m_sin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herea Step #12 - "compile-honggfuzz-address-x86_64": mples, 64 ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 364 | /src/brpc/src/butil/macros.h : 426 : 42 :  genote: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | t_inte rcval_haart (ni)a.mmee##_stack_arrge(*rhs._intray[esrivalsz[eio]f);(T Step #12 - "compile-honggfuzz-address-x86_64": p )| * na ^m Step #12 - "compile-honggfuzz-address-x86_64": e##_stac/src/brpc/src/bvar/detail/percentile.hk:_499a:r12r:a y_snote: izin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heree] Step #12 - "compile-honggfuzz-address-x86_64": ; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^499 Step #12 - "compile-honggfuzz-address-x86_64": |   : 164 :b11:. mergnote: e(expanded from hereb2 Step #12 - "compile-honggfuzz-address-x86_64": ) ; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 164 | tmp_/src/brpc/src/bvar/window.hs:t53a:c17k:_ arrnote: ayin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here_si Step #12 - "compile-honggfuzz-address-x86_64": z e Step #12 - "compile-honggfuzz-address-x86_64": | ^53 Step #12 - "compile-honggfuzz-address-x86_64": |   /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :   note:  declared here_v Step #12 - "compile-honggfuzz-address-x86_64": ar->/src/brpc/src/butil/macros.ho:p425(:)20(:v 1, note: v2expanded from macro 'DEFINE_SMALL_ARRAY'); Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 425 | /src/brpc/src/bvar/detail/call_op_returning_void.h : 29:c12o:n stnote:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereu Step #12 - "compile-honggfuzz-address-x86_64": n signe29d |  n a mer#e#t_usrtnac ko_pa(rvr1a,y _vs2i)z;e Step #12 - "compile-honggfuzz-address-x86_64": = | (n ^a Step #12 - "compile-honggfuzz-address-x86_64": me##_siz/src/brpc/src/bvar/detail/series.he: 168<:=13 :( maxnote: siin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereze) Step #12 - "compile-honggfuzz-address-x86_64": ? name##_size : 168 | 0  ) ; \  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": call_:o160:1: p_rnote: etexpanded from hereur Step #12 - "compile-honggfuzz-address-x86_64": n ing_vo160i | dt(mopp_,s ttamcpk,_ a_rdraatya_.ssiezceon Step #12 - "compile-honggfuzz-address-x86_64": d (| i)^) Step #12 - "compile-honggfuzz-address-x86_64": ; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 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:25In 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": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new Ser/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]ies Step #12 - "compile-honggfuzz-address-x86_64": Sampler(th 132 | is  , D_EvFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(ar); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": _owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new/src/brpc/src/mcpack2pb/serializer.cpp: 317S:e38r:i esSwarning: ampvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]le Step #12 - "compile-honggfuzz-address-x86_64": r(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": 317| |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/latency_recorder.h : 49 : 7F:i xednote: Hein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heread Step #12 - "compile-honggfuzz-address-x86_64": AndValue <49T | cl>a ss LatencyRectorderBase m{p Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": [cu/src/brpc/src/bvar/detail/percentile.h:132:13r: note: initializer of 'tmp_stack_array_size' is not a constant expression_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":  Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/bthread/task_control.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(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:600: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_si/src/brpc/src/bvar/detail/percentile.hz:e132]:;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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :121:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_A R121R | AnYu(musi_nstt3a2c_kt_,a rtrmapy,_ srihzse._ Step #12 - "compile-honggfuzz-address-x86_64": n u| m_^s Step #12 - "compile-honggfuzz-address-x86_64": ample/src/brpc/src/bthread/task_control.cpps:,600 :56:4 );note:  Step #12 - "compile-honggfuzz-address-x86_64": declared here | Step #12 - "compile-honggfuzz-address-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/src/brpc/src/butil/macros.h Step #12 - "compile-honggfuzz-address-x86_64": :425:20: /src/brpc/src/butil/macros.h:note: 426:expanded from macro 'DEFINE_SMALL_ARRAY'29: Step #12 - "compile-honggfuzz-address-x86_64": note:  expanded from macro 'DEFINE_SMALL_ARRAY'425 | Step #12 - "compile-honggfuzz-address-x86_64": cons t426 |  u n sicghnaerd nnaammee####__ssttaacckk__aarrrraayy[_ssiize = (name#z#e_osize <= (maxsize) ? name#f(#_size : T0p)) ;* \na Step #12 - "compile-honggfuzz-address-x86_64": m e| ## ^_ Step #12 - "compile-honggfuzz-address-x86_64": :117:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": stack_ 117 | anrurms_stack_array_siazye Step #12 - "compile-honggfuzz-address-x86_64": | ^ 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:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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:377:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 377 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:379:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 379 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:381:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 381 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:383:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 383 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:385:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 385 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:387:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 387 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #12 - "compile-honggfuzz-address-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/get_js_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/grpc_health_check_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_group.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/health_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/hotspots_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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/index_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/jquery_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64)2 warning;s generated. Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecord[ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": erBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :222:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 222 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :218:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 218 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 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": 2 warnings generated. 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": 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_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(oIn 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": p,In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": tmp, _ 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": d/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | a Samtple() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/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.se 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": cond/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": ( 98 | i ) )t;ak Step #12 - "compile-honggfuzz-address-x86_64": e _| sample(); Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16:/src/brpc/src/bvar/detail/percentile.h :529:28note: : 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: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | 529 | r et u r n_sa mapplpeern d=_ senceow snamdp(lvearl_utey,p e_(opt)h;is Step #12 - "compile-honggfuzz-address-x86_64":  );|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: 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":  Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.appe/src/brpc/src/bvar/detail/percentile.hnd:(289_owner-:16: >gnote: etexplicitly cast the pointer to silence this warning_va Step #12 - "compile-honggfuzz-address-x86_64": l ue(1289) | ) ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": memset/src/brpc/src/bvar/window.h:(58:t9h:i s,note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here0 Step #12 - "compile-honggfuzz-address-x86_64": , si zeof58 | ( *  t h i Seriess)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  Sa| mp (void*)l Step #12 - "compile-honggfuzz-address-x86_64": er(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/common.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 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:29In 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::2612: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:: 289:16note: :in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 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/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 29/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": | 116 | Sa mple tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | r e t _sampurlenr =  op(new savm1, plevr_typ2e(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": )/src/brpc/src/bvar/detail/percentile.h:289:16: ;note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); 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/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 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": :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/get_favicon_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs./src/brpc/src/bvar/detail/percentile.h_:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, timp, rhs._num_samples, n64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": te r426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": vals| [i]); Step #12 - "compile-honggfuzz-address-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:364:36:  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.hnote: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here:499 Step #12 - "compile-honggfuzz-address-x86_64": :12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interv 499 | al_at(i).merge(*rhs._in tervals[i ]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/call_op_returning_void.hb1.:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heremerge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyReco/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _serierderBase {s Step #12 - "compile-honggfuzz-address-x86_64": _ s| am ^p Step #12 - "compile-honggfuzz-address-x86_64": ler = /src/brpc/src/bvar/detail/percentile.hn:e132w:13 :S enote: rinitializer of 'tmp_stack_array_size' is not a constant expressionie Step #12 - "compile-honggfuzz-address-x86_64": sSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 132 | /src/brpc/src/bvar/latency_recorder.h : 49 : 7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBa DEFINE_SMALL_ARRAY(uisnet 3{2_ Step #12 - "compile-honggfuzz-address-x86_64": t ,| t ^m Step #12 - "compile-honggfuzz-address-x86_64": p, rhs._/src/brpc/src/bvar/detail/percentile.hn:u132m:13:_ sanote: mpinitializer of 'tmp_stack_array_size' is not a constant expressionle Step #12 - "compile-honggfuzz-address-x86_64": s, 64); Step #12 - "compile-honggfuzz-address-x86_64": | 132 ^ | Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/butil/macros.h : 426 :42: note: expanded from macro 'DEFINE_SMALL_ARRAY'  Step #12 - "compile-honggfuzz-address-x86_64": D EFINE_SMALL_AR426R | A Y ( u incth3ar name##_stack2_t, tm_p, rhs._array[nsuimz_esoafmp(lTeps), * 6n4am)e;## Step #12 - "compile-honggfuzz-address-x86_64": _ s| ta ^c Step #12 - "compile-honggfuzz-address-x86_64": k_arr/src/brpc/src/butil/macros.ha:y426_:s42i:z e];note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  426 | cha ^ Step #12 - "compile-honggfuzz-address-x86_64": :199:1: rnote: nexpanded from heream Step #12 - "compile-honggfuzz-address-x86_64": e ##_stack_array[si199 | tmzeof(Tpp_stack_)a r*r anya_msei#z#e_s Step #12 - "compile-honggfuzz-address-x86_64": t a| ck^_ Step #12 - "compile-honggfuzz-address-x86_64": array_size]; /src/brpc/src/bvar/detail/percentile.h:132:13:   note: \declared here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/butil/macros.h ^: Step #12 - "compile-honggfuzz-address-x86_64": 425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY':219:1: Step #12 - "compile-honggfuzz-address-x86_64": 425 | connote: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219s | ttm p_usntsack_array_igned name##_stack_arrasize Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": y_size = /src/brpc/src/bvar/detail/percentile.h(name##_si:132:13: note: declared hereze Step #12 - "compile-honggfuzz-address-x86_64": <=/src/brpc/src/butil/macros.h :(425m:a20x:s izenote: ) expanded from macro 'DEFINE_SMALL_ARRAY'? Step #12 - "compile-honggfuzz-address-x86_64": n ame##_siz425e | :  0const )u;n s\i Step #12 - "compile-honggfuzz-address-x86_64": g n|  ^ Step #12 - "compile-honggfuzz-address-x86_64": ed name#:#195_:s1t:a ck_note: aexpanded from hererr Step #12 - "compile-honggfuzz-address-x86_64": a y_size = 195 | tmp_s(namtea#c#k__sairzrea y<_=s i(zmeax Step #12 - "compile-honggfuzz-address-x86_64": s i| z^e 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": 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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vars_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/viz_min_js.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/flags_service.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35In 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": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0 ,151 |  s i z eof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | _Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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_/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": A 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": RRAY(uint32_t, tmp, rhs._num_samples, 64 )364; |  Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: 364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_ i nterval_at( gei).merget_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": | ( ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: *note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _rhs._ivar->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^n Step #12 - "compile-honggfuzz-address-x86_64": te/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: rvals[inote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": ]); Step #12 - "compile-honggfuzz-address-x86_64": 29 | r | e ^turn Step #12 - "compile-honggfuzz-address-x86_64":  op/src/brpc/src/bvar/detail/percentile.h:499:12:(v1 , vnote: 2);in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 499 | /src/brpc/src/bvar/detail/series.h : 168 : 13 : b1.mergnote: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested heree( Step #12 - "compile-honggfuzz-address-x86_64": b 2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 168/src/brpc/src/bvar/window.h | : 53 : 17 :   note:  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64": c all_op_53r | e t u r n i n g _ v o i d ( o p ,_ vtamrp-, >_odp(a)t(av.1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h29: | 116 r:16: etunote: rnin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": o p(v1, v2116 | ) ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^r Step #12 - "compile-honggfuzz-address-x86_64": eturn ap/src/brpc/src/bvar/detail/series.hp:e168n:d13_:s econote: ndin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here(va Step #12 - "compile-honggfuzz-address-x86_64": 168 | lue, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   c/src/brpc/src/bvar/window.hal:l65_:o25p:_ retnote: urin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereni Step #12 - "compile-honggfuzz-address-x86_64": n g_void(65o | p, t m p , _dat a. s e c o n d ( i_)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": series.appen/src/brpc/src/bvar/detail/series.hd:(116_:o16w:n er->get_note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h: ret58u:r9n: apnote: pein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herend Step #12 - "compile-honggfuzz-address-x86_64": _ second(va58l | u e , _ o p )SeriesS; Step #12 - "compile-honggfuzz-address-x86_64": a m| p ^l Step #12 - "compile-honggfuzz-address-x86_64": er(Windo/src/brpc/src/bvar/window.hw:B65a:s25e:* ownote: nein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herer, Step #12 - "compile-honggfuzz-address-x86_64": R* var)65 Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _series.app/src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | end(_owner->get_value(1)) _serie; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": s_sampler = /src/brpc/src/bvar/window.hn:e58w:9 :S erinote: esin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested hereS Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ampler(Wind/src/brpc/src/bvar/latency_recorder.ho:w49B:a7s:e * onote: wnin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereer Step #12 - "compile-honggfuzz-address-x86_64": , R* v49a | r)class Step #12 - "compile-honggfuzz-address-x86_64": L| at ^ Step #12 - "compile-honggfuzz-address-x86_64": ency/src/brpc/src/bvar/window.hR:e151c:o35r:d erBanote: sein 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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h151: | 132 : 13 :  note:  initializer of 'tmp_stack_array_size' is not a constant expression  _series_s Step #12 - "compile-honggfuzz-address-x86_64": ampler = ne132w |  S e r i e s S a m p lDeEFINE_SMALLr(th_iAsRR,A Y_(vuairn)t;32 Step #12 - "compile-honggfuzz-address-x86_64": _ t| , tmp, rhs._num_sam ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7:p lenote: sin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here,  Step #12 - "compile-honggfuzz-address-x86_64": 6 4);49 Step #12 - "compile-honggfuzz-address-x86_64": | | cl ^ Step #12 - "compile-honggfuzz-address-x86_64": as/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | chs LatencyRecorderBase {a Step #12 - "compile-honggfuzz-address-x86_64": r | n ^a Step #12 - "compile-honggfuzz-address-x86_64": me##_sta/src/brpc/src/bvar/detail/percentile.hc:k132_:a13r:r ay[note: sinitializer of 'tmp_stack_array_size' is not a constant expressioniz Step #12 - "compile-honggfuzz-address-x86_64": e of(Tp) * nam132e | # # _stack_ar DEFINEr_aSyM_AsLL_ARRAize]; Y(u int32_t \ Step #12 - "compile-honggfuzz-address-x86_64": , | tm ^p Step #12 - "compile-honggfuzz-address-x86_64": , rhs._:n219u:m1_:s amnote: plexpanded from herees Step #12 - "compile-honggfuzz-address-x86_64": , 64); Step #12 - "compile-honggfuzz-address-x86_64": 219|  ^ | Step #12 - "compile-honggfuzz-address-x86_64": tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/butil/macros.h:^426 Step #12 - "compile-honggfuzz-address-x86_64": :42: note: /src/brpc/src/bvar/detail/percentile.h:expanded from macro 'DEFINE_SMALL_ARRAY'132: Step #12 - "compile-honggfuzz-address-x86_64": 13 : note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 426 | /src/brpc/src/butil/macros.h : 425 :20c:h arnote: nexpanded from macro 'DEFINE_SMALL_ARRAY'am Step #12 - "compile-honggfuzz-address-x86_64": e 425 | co##_stack_array[sizeof(Tp) * name##_stack_nst unsigned name##_stack_aarray_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :240:1: note: expanded from hererr Step #12 - "compile-honggfuzz-address-x86_64": ay_size = 240( | ntammpe#_#st_ascikz_ea r: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": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/index_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_sampl/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": e 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": s, 426 64); Step #12 - "compile-honggfuzz-address-x86_64": | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426: ch29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": ar name##_stack_array[ sizeo426 | f(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": char na 364 | me# get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": #_stack_ a499 | rray[  s izeof(Tp ) *b1.merge(b 2n)a;me Step #12 - "compile-honggfuzz-address-x86_64": # #| _ ^ Step #12 - "compile-honggfuzz-address-x86_64": sta/src/brpc/src/bvar/window.hc:k53_:array_siz17: note: e];  in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": _ 364 | v get_intervala_r-a>to(p()(v1, v2);i Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/detail/call_op_returning_void.h:499:12: 29:note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here12 Step #12 - "compile-honggfuzz-address-x86_64": 499:  |  note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 29 | b1r.emteurrgn e(obp(2v)1;, v Step #12 - "compile-honggfuzz-address-x86_64": 2 )| ; ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17:/src/brpc/src/bvar/detail/series.h :168:13: note: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herein instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 53 | 168 | _var ->op()( v 1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ c Step #12 - "compile-honggfuzz-address-x86_64": all_op_r/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": etu 29 | return op(v1, v2);rning Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13_void(op, tmp: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": , _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | 168 | call _o p_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/series.h:116: 16: _snote: ein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereri Step #12 - "compile-honggfuzz-address-x86_64": es. 116 | return apappendp_esnedc(o_nod(value, w_op); Step #12 - "compile-honggfuzz-address-x86_64": | n ^ Step #12 - "compile-honggfuzz-address-x86_64": e/src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": r 65 | _series.append(_owner->get_value(-1))>; Step #12 - "compile-honggfuzz-address-x86_64": g|  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": e58 | t _SeriesvSampler(WaindowBase* owluner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/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 151 | (1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": n/src/brpc/src/bvar/latency_recorder.ha:m49e:#7#:_ snote: tackin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | cl_assa LatencrryaRye_csoirzdee]r;B a s e { \ 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": :219:1: 132 |  note: DEFINexpanded from hereE_SMAL Step #12 - "compile-honggfuzz-address-x86_64": L_ARRAY(uint32_ 219 | tmt,p_ tmpst,a rhs._ckn_uamr_rsaaym_psliezse, Step #12 - "compile-honggfuzz-address-x86_64":  6| 4^) Step #12 - "compile-honggfuzz-address-x86_64": ; Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h ^ Step #12 - "compile-honggfuzz-address-x86_64": :132/src/brpc/src/butil/macros.h:426:42::13 : note: note: expanded from macro 'DEFINE_SMALL_ARRAY'declared here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: 426 |  note: cexpanded from macro 'DEFINE_SMALL_ARRAY'h Step #12 - "compile-honggfuzz-address-x86_64": ar name##_stack_array[sizeof(Tp) * name##_stack_a 425 | r r a y _scioznes]t;  u n s i\gn Step #12 - "compile-honggfuzz-address-x86_64": e d|  ^ Step #12 - "compile-honggfuzz-address-x86_64":  name##_stack_:a219r:r1a:y _sinote: zeexpanded from here = Step #12 - "compile-honggfuzz-address-x86_64": (n 219 | tammep#_#s_tsaiczke_ asize = (name#:215#_si:ze <1= (maxs: ize) ? nanote: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": me## 215 | tm_sp_ize : 0); stack_a\rray Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _:215size Step #12 - "compile-honggfuzz-address-x86_64": | :1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/list_service.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 12 warnings generated. 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/health_check.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/hpack.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.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/http_parser.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :16:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 16 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :12:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 12 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(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": e 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~, Step #12 - "compile-honggfuzz-address-x86_64":  _op); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/butil/macros.h:426:29: ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h:65:25: note: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_ow 426ne | r-> cget_valuhae(r1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  name##_stack_array[size/src/brpc/src/bvar/window.hof:58:(T9p:) * name#note: #_stack_arin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herera Step #12 - "compile-honggfuzz-address-x86_64": y58 | _ s iz e]; \Se Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": ri/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heree Step #12 - "compile-honggfuzz-address-x86_64": sS 364 | a mpl er ( Window Ba s e * own e r , geR*t v_airn)te Step #12 - "compile-honggfuzz-address-x86_64": r v| al ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35:_ at(inote: ).in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": merge(* rh151s._ | i n t er va l s _s[eriies_]);s Step #12 - "compile-honggfuzz-address-x86_64": a|  ^m Step #12 - "compile-honggfuzz-address-x86_64": p/src/brpc/src/bvar/detail/percentile.hl:e499r:12 := n enote: win instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Se Step #12 - "compile-honggfuzz-address-x86_64": riesS a499mpl | e r ( thi s, _ vba1r.m)e;rg Step #12 - "compile-honggfuzz-address-x86_64": e |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h(b:2);49 Step #12 - "compile-honggfuzz-address-x86_64": :| 7: ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here/src/brpc/src/bvar/window.h: Step #12 - "compile-honggfuzz-address-x86_64": 53:17 : 49note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here | cl Step #12 - "compile-honggfuzz-address-x86_64": ass LatencyRec 53 | o r d e r B a s e {_var-> Step #12 - "compile-honggfuzz-address-x86_64": o |  ^ Step #12 - "compile-honggfuzz-address-x86_64": p()(v1, /src/brpc/src/bvar/detail/percentile.hv2:132:)13:;  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": Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: 132in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here |  Step #12 - "compile-honggfuzz-address-x86_64": 29 |  rDEeFtIuNrEn_SM oApL(L_vA1R, RvA2); Step #12 - "compile-honggfuzz-address-x86_64": Y (|  ^u Step #12 - "compile-honggfuzz-address-x86_64": int32_t/src/brpc/src/bvar/detail/series.h, :t168mp:, r13h:s ._nunote: m_in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested heresa Step #12 - "compile-honggfuzz-address-x86_64": m ples, 1686 | 4  ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ca/src/brpc/src/butil/macros.hl:426:42: note: lexpanded from macro 'DEFINE_SMALL_ARRAY'_ Step #12 - "compile-honggfuzz-address-x86_64": op_r eturning_426v | oi d(o pch,a trm napm,e #_#d_asttaac.k_saerracyo[nsd(iiz)eo);f Step #12 - "compile-honggfuzz-address-x86_64":  | ( ^ Step #12 - "compile-honggfuzz-address-x86_64": Tp) * name/src/brpc/src/bvar/detail/series.h#:#_st116a:c16: k_note: arrin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herea Step #12 - "compile-honggfuzz-address-x86_64": y_size ]; 116 | \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  re[ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": tu:r50n:1 :a ppendnote: _sexpanded from hereec Step #12 - "compile-honggfuzz-address-x86_64": o nd(v50a | ltuem,p __sotpa);c Step #12 - "compile-honggfuzz-address-x86_64": k _| ar ^ Step #12 - "compile-honggfuzz-address-x86_64": ray_size Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h| :65^: Step #12 - "compile-honggfuzz-address-x86_64": 25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here/src/brpc/src/bvar/detail/percentile.h Step #12 - "compile-honggfuzz-address-x86_64": : 132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 65 | /src/brpc/src/butil/macros.h : 425:20:   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #12 - "compile-honggfuzz-address-x86_64": _series.425 | a ppceonnd(s_tow neru-n>sgignedet _nvaamleu#e(#1_s)t)a;ck Step #12 - "compile-honggfuzz-address-x86_64": _ a| rr ^a Step #12 - "compile-honggfuzz-address-x86_64": y_size/src/brpc/src/bvar/window.h :=58 :(9n:a me#note: #in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": _ size <=58 | (m a x s i z e ) Serie?s Snaammpel#e#r(Win_dsoiwzBea s:e * owne0r,) ;R *\ var) Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :46:1: /src/brpc/src/bvar/window.h:151note: :expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 35 : note: 46 | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested heretm Step #12 - "compile-honggfuzz-address-x86_64": p_stack_151a | r r a y _ s i z_seriees Step #12 - "compile-honggfuzz-address-x86_64": _ s| am^p Step #12 - "compile-honggfuzz-address-x86_64": ler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/load_balancer_with_naming.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/mesalink_ssl_helper.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 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": 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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 | callIn 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": o |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: pnote: _rin instantiation of member function 'bvar::detail::Sample>::Sample' requested hereet Step #12 - "compile-honggfuzz-address-x86_64": urning_ v116o | id ( o p , t m p , _ Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": data/src/brpc/src/bvar/detail/sampler.h.:s98e:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": cond(i)); 98 |  Step #12 - "compile-honggfuzz-address-x86_64": | ta ^k Step #12 - "compile-honggfuzz-address-x86_64": e_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h/src/brpc/src/bvar/detail/percentile.h::116529::1628:: note: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herein 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": 529 | 116 | _ s a m pler = nreewt sampluerrn_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  append_sec/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": on 289 | memset(this, 0, sizeof(*this));d( Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": 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": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/rpcz_service.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: 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/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 | mem_series.appsened(t_own(erthis, 0, siz->geetof_value((1*));t Step #12 - "compile-honggfuzz-address-x86_64": h | 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/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | 40 | Ser Sample() : iedsata(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": Sampler(WindowBase* /src/brpc/src/bvar/detail/sampler.ho:wner, R* var)116: Step #12 - "compile-honggfuzz-address-x86_64": | 23 ^ Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h:151:116 | 35 :   note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": Samp l151 | _seeries_sampler = n ew SeriesSampler(tmthp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98is, _var):9: note: in instantiation of 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": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  take_s/src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49am | pclass LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": l/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": e 132(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  DEFINE_SMALL_ARRAY(/src/brpc/src/bvar/detail/percentile.huint32_:529:28:t , tmp, rhsnote: ._nuin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": m_ 529 | s a _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289mples, 64 | ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 |  c har name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  :m219:em1s: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": et(this, 0 ,219  | sitzeofmp_stack_a(*rray_sithisze 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|  ^: Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*)note: declared here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.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": :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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": [ 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/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, 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/threads_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/builtin/vars_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merIn 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": g e289( | b 2 ) ;  Step #12 - "compile-honggfuzz-address-x86_64": memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: 40note: | in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Sa mple() : 53 | da ta(), time_us(0 ) {}  Step #12 - "compile-honggfuzz-address-x86_64": _| v ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested herear->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 116 | 29 |  r e t u r n op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": | note: ^ Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here168 Step #12 - "compile-honggfuzz-address-x86_64": | 98 | ta call_op_rkeet_usranmipnlge_(v)o;id Step #12 - "compile-honggfuzz-address-x86_64": ( o| p, ^ Step #12 - "compile-honggfuzz-address-x86_64": tmp, _/src/brpc/src/bvar/detail/percentile.hd:a529t:a28.:s econote: ndin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here(i) Step #12 - "compile-honggfuzz-address-x86_64": ) ; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | 529 | _ s a mprleetru r=n  naepwpe nsda_mspelceorn_dt(yvpael(uet,h i_sop));; Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.a/src/brpc/src/bvar/detail/percentile.hpp:e289n:16:d (_onote: wnexplicitly cast the pointer to silence this warninger->get_value Step #12 - "compile-honggfuzz-address-x86_64": (1)); Step #12 - "compile-honggfuzz-address-x86_64": 289 | |  ^ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/bvar/window.hm:e58m:s9e:t (tnote: hiin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heres Step #12 - "compile-honggfuzz-address-x86_64": , 0, 58s | i z e o f  (* t hSeriises)S)a;mp Step #12 - "compile-honggfuzz-address-x86_64": l e| r( ^W Step #12 - "compile-honggfuzz-address-x86_64": in d| ow (void*)B Step #12 - "compile-honggfuzz-address-x86_64": as/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | e* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/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-> 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": o/src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": p 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ()/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": (v1, 132 | v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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## DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": _size : 426 | 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": 0 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": ); \ Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned 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":  ^ 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": 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": 426 | 289 |  c memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": h116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": a 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in 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 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  name##_st/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": a 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": ck_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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_sizIn 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": e 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-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": 289 | memset(this, 0, 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/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned 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": [ 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/vlog_service.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_ s426a | m p l e s,c ha6r4 )n;am Step #12 - "compile-honggfuzz-address-x86_64": e #| # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": _stack_array[sizeof(Tp) * name##_stack_array_siz e426] | ;  c h\ar name##_stack_array[sizeof(Tp) * n Step #12 - "compile-honggfuzz-address-x86_64": a m| e# ^# Step #12 - "compile-honggfuzz-address-x86_64": _stack_a:r219r:ay_size]; 1 :\  Step #12 - "compile-honggfuzz-address-x86_64":  note: | expanded from here ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36:  note: 219 | in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heretm Step #12 - "compile-honggfuzz-address-x86_64": p_stack_arr 364 | a yg_esti_zient Step #12 - "compile-honggfuzz-address-x86_64": e r| va^l Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h_:a132t:(13i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12:: note: note: declared herein instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 53 |  /src/brpc/src/butil/macros.h:425:20:   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #12 - "compile-honggfuzz-address-x86_64": _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  425 |  /src/brpc/src/bvar/detail/series.h:116:16: note: const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": :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": 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": 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_sampl[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": es, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/input_messenger.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o 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": 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": In file included from /src/brpc/src/brpc/checksum.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/compress.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132: 13:426 | warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132char | n ame##_stack_ar ray[size of D(EFITNpE)_ S*M AnLaLm_eA#R#R_AsYt(aucikn_ta3r2r_aty,_ siztemp],; r h s . _\num Step #12 - "compile-honggfuzz-address-x86_64": _ s| am ^p Step #12 - "compile-honggfuzz-address-x86_64": les, :62194:1):;  Step #12 - "compile-honggfuzz-address-x86_64":  note: |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~expanded from here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29219: | tmp_note: stexpanded from macro 'DEFINE_SMALL_ARRAY'ac Step #12 - "compile-honggfuzz-address-x86_64": k _array_size Step #12 - "compile-honggfuzz-address-x86_64": | 426 | ^ Step #12 - "compile-honggfuzz-address-x86_64":   c/src/brpc/src/bvar/detail/percentile.hha:r132: 13n:a me#note: #_declared herest Step #12 - "compile-honggfuzz-address-x86_64": a/src/brpc/src/butil/macros.h2c warning:s generated. Step #12 - "compile-honggfuzz-address-x86_64": 425k:_a20r:r aynote: [expanded from macro 'DEFINE_SMALL_ARRAY'siz Step #12 - "compile-honggfuzz-address-x86_64": e of(Tp) * name##_s425t | a c k _ acrornays_tsi zeu]n;si g n e d  \na Step #12 - "compile-honggfuzz-address-x86_64": m e| # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# Step #12 - "compile-honggfuzz-address-x86_64": _stack/src/brpc/src/bvar/detail/percentile.h_:a364r:r36a:y _sinote: zein instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here = Step #12 - "compile-honggfuzz-address-x86_64": (name##_si364z | e < = ( m a x s i z e ) ? gneatm_ei#n#t_erval_asti(zie) .:m er0ge)(;* r\hs Step #12 - "compile-honggfuzz-address-x86_64": . _| in ^t Step #12 - "compile-honggfuzz-address-x86_64": ervals:[215i:]1):;  Step #12 - "compile-honggfuzz-address-x86_64":  note: | expanded from here ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:499215: | 12t: mp_note: stin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested hereac Step #12 - "compile-honggfuzz-address-x86_64": k _arr499a | y _si z e  Step #12 - "compile-honggfuzz-address-x86_64": | b^ Step #12 - "compile-honggfuzz-address-x86_64": 1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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/parallel_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": :194:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 194 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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/channel.cpp:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_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/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": 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": [ 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/controller.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. 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": In file included from /src/brpc/src/brpc/event_dispatcher.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/load_balancer_with_naming.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :33:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 33 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :29:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 29 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 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": [ 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 | get_interval_at(i).merge(*In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:rhs._interval26s: Step #12 - "compile-honggfuzz-address-x86_64": [In file included from i/src/brpc/src/brpc/socket_map.h]:)23;: 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:499In file included from /src/brpc/src/bvar/bvar.h::2712: Step #12 - "compile-honggfuzz-address-x86_64": :In file included from note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: 499 | bwarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*th/src/brpc/src/bvar/window.h:53:i17s:)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | 40 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": Sam p| le ^ Step #12 - "compile-honggfuzz-address-x86_64": () : dat/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12:a (), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 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::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return116 |  op ( v 1 , Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: v2); Step #12 - "compile-honggfuzz-address-x86_64": | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 |  ^ _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/series.h:/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 168:13: 289 | memset(this, 0, 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: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/consul_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :173:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 173 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :169:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 169 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :190:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 190 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :186:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 186 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ 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 Step #12 - "compile-honggfuzz-address-x86_64": :32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 16: 1289: | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23note: expanded from here: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | 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/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:529:28: note: 16 | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^t Step #12 - "compile-honggfuzz-address-x86_64": mp_stack_a/src/brpc/src/bvar/detail/percentile.h:289:16rray_: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": siz 289 | e Step #12 - "compile-honggfuzz-address-x86_64": memset(| this, 0, sizeof^ Step #12 - "compile-honggfuzz-address-x86_64": (*this)); Step #12 - "compile-honggfuzz-address-x86_64": | /src/brpc/src/bvar/detail/percentile.h:132:13 ^ 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: |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": [ 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": :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/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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_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:/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 151 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": :35 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \: Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64":  364note:  | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here 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": 151 | 499 | b1.me rge(b2) ; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h:53 :17:  note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here  Step #12 - "compile-honggfuzz-address-x86_64": 53 | _ v ar_->opseries_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49() | cl(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | ass LatencyRecoretrurderBn op(v1, vase2) { Step #12 - "compile-honggfuzz-address-x86_64": | ; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ ^ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132 168: | 13 :  note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | call_o p_r DEFINeE_StMuALL_ARRrAning_void(op, tmp, Y_(dautiant32_t, tmp, .srhes._cnum_samples, 64o)nd(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:;116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 Step #12 - "compile-honggfuzz-address-x86_64": | |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": ret 426 | urn  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": append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 219 | /src/brpc/src/bvar/window.h:65:25: tmp_snote: tack_in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested herea Step #12 - "compile-honggfuzz-address-x86_64": rray_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (65 | name##_size <= (maxsize) ? name##_size : 0 _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp); \ 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": rh 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": s._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. 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": 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: In file included from /src/brpc/src/brpc/input_messenger.cpp:note: 24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from 289/src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: | memset(this, 0, sizeof289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": (*this) 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116):23; Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  | note:  (void*)in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, 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/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": 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": 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": 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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char 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 #12 - "compile-honggfuzz-address-x86_64": eof(Tp) * name##_st 132 | DEFINE_SMALLack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _ARRAY(uint32_t, tmp, :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": rhs. 425 | const unsigned 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": _nu 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": m_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": :  132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": note:  364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64":  note: 49in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here |  Step #12 - "compile-honggfuzz-address-x86_64": c lass499 | b1.merge(b2); Latenc Step #12 - "compile-honggfuzz-address-x86_64": y R| ecor ^d Step #12 - "compile-honggfuzz-address-x86_64": e/src/brpc/src/bvar/window.hr:B53a:s17e: { Step #12 - "compile-honggfuzz-address-x86_64": note: | in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here ^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  53/src/brpc/src/bvar/detail/percentile.h: | 132:13 :   note:  initializer of 'tmp_stack_array_size' is not a constant expression  Step #12 - "compile-honggfuzz-address-x86_64": _var132- | > o p ( ) ( v 1 ,DE FvI2N)E;_SM Step #12 - "compile-honggfuzz-address-x86_64": A L| L_ ^A Step #12 - "compile-honggfuzz-address-x86_64": RRAY/src/brpc/src/bvar/detail/call_op_returning_void.h:(u29i:12n:t 32_tnote: , in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heretm Step #12 - "compile-honggfuzz-address-x86_64": p , rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": 29 | retur| n ^ Step #12 - "compile-honggfuzz-address-x86_64": op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h :| 426: ^42 Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13:: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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 | 426 | cha call_op_rr entaumren#i#n_gs_tvaocikd_(aorpr,a y[tmspi,z e_odfat(aT.ps)e c*o nnadm(ei#)#_st)a;ck Step #12 - "compile-honggfuzz-address-x86_64": _ a| rr ^a Step #12 - "compile-honggfuzz-address-x86_64": y_size/src/brpc/src/bvar/detail/series.h]:;116 : 16 :  \note:  Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here | Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: 116 | note:  expanded from here  Step #12 - "compile-honggfuzz-address-x86_64": return185 | atpmppe_nsdt_ascekc_oanrdr(avya_lsuiez,e _ Step #12 - "compile-honggfuzz-address-x86_64": o p| );^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:/src/brpc/src/bvar/window.h :65:note: 25:declared here  Step #12 - "compile-honggfuzz-address-x86_64": note: /src/brpc/src/butil/macros.hin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here:425 Step #12 - "compile-honggfuzz-address-x86_64": : 20: note: 65expanded from macro 'DEFINE_SMALL_ARRAY' |  Step #12 - "compile-honggfuzz-address-x86_64": _series.a425p | p e nd ( _ocwonnesrt->g etu_nvsailgunee(d1 n)a)m;e# Step #12 - "compile-honggfuzz-address-x86_64": #| _s ^t Step #12 - "compile-honggfuzz-address-x86_64": ack_a/src/brpc/src/bvar/window.hr:r58a:y9_:s ize = (nnote: amin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heree## Step #12 - "compile-honggfuzz-address-x86_64": _ size <=58 ( | m a x s i z e )S e? name##_sriesSampilzeer( W:i ndowBa0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": se* owner, R* var):181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _/src/brpc/src/bvar/window.hsta:c151k:_35a:r ray_size Step #12 - "compile-honggfuzz-address-x86_64": | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | ^ Step #12 - "compile-honggfuzz-address-x86_64":  _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/memcache_binary_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 615 | DEFINE_SMALL_ARRAY(SubCall, aps, nchan, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: initializer of 'aps_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :55:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 55 | aps_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp:615:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :51:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 51 | aps_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/auto_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/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/policy/domain_naming_service.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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": In file included from /src/brpc/src/brpc/partition_channel.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 |  note: DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": | , ^ tmp, _data. Step #12 - "compile-honggfuzz-address-x86_64": second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return /src/brpc/src/bvar/window.h:53:17: append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 |  _senote: ries.append(_in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here53 Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var | _)v Step #12 - "compile-honggfuzz-address-x86_64": ar->op()(v1, |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _serives_s2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ampler = new SeriesSampler( Step #12 - "compile-honggfuzz-address-x86_64": this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class L/src/brpc/src/bvar/detail/call_op_returning_void.hatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression:29 Step #12 - "compile-honggfuzz-address-x86_64": :12: note: 132 |  DEFINE_SMALin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereL_A Step #12 - "compile-honggfuzz-address-x86_64": RRAY(uint32_t, tmp, rhs._num_sa 29 | remplestu, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": r 426 | char name##_stackn_array[sizeof(Tp) * name##_stack_array_s op(v1, v2); 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": :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": | /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20:  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 168 | 425 | const unsig n ed name##_ stack_array _size = (name##_s calize l<= _o(mapxsize)_re ? ntaumrning_void(oe##_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": p, tmp 137 | t,mp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/nshead_pb_service_adaptor.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nova_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_protocol.cpp.o 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :183:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 183 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :179:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 179 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/public_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | 2 warnings generated. 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": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[[ 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": sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here/src/brpc/src/bvar/detail/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": 58 | 132 | DEFI SerNE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": i/src/brpc/src/butil/macros.h:426:e29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": sS 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": ampler(WindowBa 364 | s get_ie* onterval_at(i).merge(*rhs._intervals[i]/src/brpc/src/bvar/detail/percentile.h):;132: Step #12 - "compile-honggfuzz-address-x86_64": 13 :|  ^wnerwarning: , Step #12 - "compile-honggfuzz-address-x86_64": Rvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:* var) Step #12 - "compile-honggfuzz-address-x86_64": 499 :13212 | |  ^: 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: 499 | 151 b DEFI1N.merE:_35SMALge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: Lnote: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": : note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v 1_,A151 | Rv R2 A) Y; ( u Step #12 - "compile-honggfuzz-address-x86_64": i n | t 3 ^ 2 Step #12 - "compile-honggfuzz-address-x86_64": _ t_,s etrmipe/src/brpc/src/bvar/detail/call_op_returning_void.h,s :_r29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | shamples._nru m=_ sanmepwl e srS,ee trui6re4nsS)a ;mop(v1, v2);p Step #12 - "compile-honggfuzz-address-x86_64": l e| r( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": t| hi ^s Step #12 - "compile-honggfuzz-address-x86_64": ,/src/brpc/src/butil/macros.h :_426v:a29/src/brpc/src/bvar/detail/series.hr::) 168;:13 Step #12 - "compile-honggfuzz-address-x86_64": note: :  | expanded from macro 'DEFINE_SMALL_ARRAY' ^ Step #12 - "compile-honggfuzz-address-x86_64": note: Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 426 | 168 | /src/brpc/src/bvar/latency_recorder.h c :h 49a :r 7 : n a m note: e # in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here#c_a Step #12 - "compile-honggfuzz-address-x86_64": sl tla_cokp__ar49re | rtaucyrl[naing_voss Latsizeioedfn(co(ypTR,pe )tcmopr ,d* e _rndBaaamtseae#. #s{_esc Step #12 - "compile-honggfuzz-address-x86_64": to an| cdk( ^i_ Step #12 - "compile-honggfuzz-address-x86_64": a)r)r;a Step #12 - "compile-honggfuzz-address-x86_64": y _| si/src/brpc/src/bvar/detail/percentile.h ^z Step #12 - "compile-honggfuzz-address-x86_64": :e132]:;13 :  /src/brpc/src/bvar/detail/series.h :note: 116\initializer of 'tmp_stack_array_size' is not a constant expression:16 Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~note: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 132 |  Step #12 - "compile-honggfuzz-address-x86_64": 116 | D E F I N E _ S MArLeturn append_secoL_ARRA364Y | ( u ni n t 3d 2( _v t, tmp, alue,r hg_seo.tp_num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": _interval_a); Step #12 - "compile-honggfuzz-address-x86_64": | t ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25:(i).mer| ge ^( Step #12 - "compile-honggfuzz-address-x86_64": *r hs./src/brpc/src/butil/macros.h_note: :i426in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested heren:t42e Step #12 - "compile-honggfuzz-address-x86_64": rvals[65i | ] ) ;  Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  : _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58 :9:note: expanded from macro 'DEFINE_SMALL_ARRAY'note: 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* owner, R426* | v a r )c Step #12 - "compile-honggfuzz-address-x86_64": h a| r ^ Step #12 - "compile-honggfuzz-address-x86_64": name/src/brpc/src/bvar/window.h#:#151_:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": stack_arra y151 | _series_sampler = new SeriesSampl[/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": sizeof(T 499 | p b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.ser(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": ) econd(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": * /src/brpc/src/bvar/latency_recorder.h :49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | clasname##_stack_s Latenc116 | returyarRecordrne ray_size]Base { Step #12 - "compile-honggfuzz-address-x86_64": append_s; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": | econd(va ^ Step #12 - "compile-honggfuzz-address-x86_64": :191:1: lue, note: _op);/src/brpc/src/bvar/detail/percentile.h:expanded from here132:13:  Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_stack_anote: initializer of 'tmp_stack_array_size' is not a constant expressionrray_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: 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 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425 132 | : DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :203:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 203 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :199:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 199 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/consistent_hashing_load_balancer.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/consul_naming_service.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /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_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": :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": [ 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": [ 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :86:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 86 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :82:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 82 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/dynpart_load_balancer.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :195:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 195 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :191:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 191 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_pbrpc_protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyR[ 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": ecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64);/src/brpc/src/bvar/detail/percentile.h:132:13: warning:  Step #12 - "compile-honggfuzz-address-x86_64": |  ^variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/butil/macros.h:426:42: 132 | note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #12 - "compile-honggfuzz-address-x86_64": DEFINE_SMA426 | LL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64":   /src/brpc/src/butil/macros.h:426:29:  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  426 | char name##c_hstack_arraya[rsizeof( Tp) * nnaammee####__ssttaacckk__array_sairze]; r a y \ Step #12 - "compile-honggfuzz-address-x86_64": | [ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": si/src/brpc/src/bvar/detail/percentile.h:364:36: znote: eoin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested heref Step #12 - "compile-honggfuzz-address-x86_64": (Tp) * 364 | n a get_imneterval#_#a_ts(ti).meragcek(_*arrhrsa.y__isnitzeer]v;a l s[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  \/src/brpc/src/bvar/detail/percentile.h Step #12 - "compile-honggfuzz-address-x86_64": :499:12: | note: ^ Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": :225:1:  499note: |  expanded from here  Step #12 - "compile-honggfuzz-address-x86_64": b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  225 | t/src/brpc/src/bvar/window.hm:p53_:s17: note: tain instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested hereck Step #12 - "compile-honggfuzz-address-x86_64": 53 | _ a r r a y _ s_ivzaer- Step #12 - "compile-honggfuzz-address-x86_64": > op()(v1| , v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^^ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/call_op_returning_void.h::13229::1312:: note: note: declared herein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v Step #12 - "compile-honggfuzz-address-x86_64": 1,/src/brpc/src/butil/macros.h v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/detail/series.h:168:13:425 :note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here20 Step #12 - "compile-honggfuzz-address-x86_64": :  168 |  note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #12 - "compile-honggfuzz-address-x86_64": call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 425 |  /src/brpc/src/bvar/detail/series.h:116:16:  note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": con 116 | rsetturn append_ second(uvalue,n s_iogp); Step #12 - "compile-honggfuzz-address-x86_64": n| ed ^ Step #12 - "compile-honggfuzz-address-x86_64": nam/src/brpc/src/bvar/window.h:65:25: note: e#in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here#_ Step #12 - "compile-honggfuzz-address-x86_64": s 65 | t a c k _ a r r a y _serie_ss.appendi(z_ownere- >=g e(t_valunea(me1##)_)s;iz Step #12 - "compile-honggfuzz-address-x86_64": e | <= ^ Step #12 - "compile-honggfuzz-address-x86_64": (max/src/brpc/src/bvar/window.hs:i58ze) ? name:##9: _note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": s 58 | ize : 0 SeriesSamp); ler(WindowBas\ Step #12 - "compile-honggfuzz-address-x86_64": e* owner, R* var) 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": ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151: 221 | tmp_sta35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested herec Step #12 - "compile-honggfuzz-address-x86_64": k 151 | _series_sampler = n_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": ew SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/esp_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_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/weighted_randomized_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/weighted_round_robin_load_balancer.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.cpp:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": | 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 ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": :40 | 26 Sample() : : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.hd:a32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:t27a: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :/src/brpc/src/bvar/detail/sampler.h:116:23: In file included from note: /src/brpc/src/brpc/policy/memcache_binary_protocol.cppin instantiation of member function 'bvar::detail::Sample>::Sample' requested here:26 Step #12 - "compile-honggfuzz-address-x86_64": : Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h :28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289116 | Sample tmp; | Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 28 : Step #12 - "compile-honggfuzz-address-x86_64": 98In file included from | /src/brpc/src/bvar/latency_recorder.h :26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  warning:  first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": t 289 | memset(  make_sample()emsett(thish,is 0, , 0sizeo,f (*this));s Step #12 - "compile-honggfuzz-address-x86_64": i z| eo ^f 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: /src/brpc/src/bvar/detail/sampler.hnote: :in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 4040 | | Sample() : data(), ti me_us( S; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529a0mp) {:28: note: }le Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": () : data(), time 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": _us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(/src/brpc/src/bvar/detail/sampler.ht:h116i:s23:, 0note: ,in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #12 - "compile-honggfuzz-address-x86_64": sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  | 116 (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/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: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :40:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 40 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :36:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 36 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :185:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 185 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY'2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :181:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 181 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.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##_In file included from st/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 ack_array_size]; /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": \ 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | re | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": turn op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/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": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: 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/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 | cha r  _var->op()(v1h, eader_and_meta[12v2); + 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: Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.hnote: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here: Step #12 - "compile-honggfuzz-address-x86_64": 29:12:  294 | Senote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested hereri Step #12 - "compile-honggfuzz-address-x86_64": a 29 | lizeHuluHeade rArendturn op(Meta(&res_buf, meta, res_size + attached_sviz1,e); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ v2); 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/hulu_pbrpc_protocol.cpp/src/brpc/src/bvar/detail/series.h::168157::1335:: 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 hereinitializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": 168 | 157 |  c hcaarll _hoepa_dreer_and_meta[12turning_void(op, tmp, _data.second(i)); + meta_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/brpc/policy/hulu_pbrpc_protocol.cpp:/src/brpc/src/bvar/detail/series.h155::11620::16 : note: note: declared herein instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 155 | 116 | c o ns t  u i nrte3t2u_rtn m eatppend_second(va_size a=l uGee,t P_roopt)o;buf Step #12 - "compile-honggfuzz-address-x86_64": B y| te ^S Step #12 - "compile-honggfuzz-address-x86_64": ize(met/src/brpc/src/bvar/window.ha:)65;:25 Step #12 - "compile-honggfuzz-address-x86_64": : |  ^ Step #12 - "compile-honggfuzz-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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: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/nova_pbrpc_protocol.cpp:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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 | In file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memse _t(steries_sampler = his, 0,n ews SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": izeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new s/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": a 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": mp 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": l 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": e 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: 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_ty 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": p 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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 heree 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": this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, 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": In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_arra/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": y[/src/brpc/src/butil/macros.hs:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": izeof 426 | char name##_stack_a(rTray[sizp)eof(Tp) * name##_stac k*_ anrray_size]; ame \# Step #12 - "compile-honggfuzz-address-x86_64": # _|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": s/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/block_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": tack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": In file included from /src/brpc/src/brpc/policy/redis_protocol.cpp:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_inter2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": val_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64)note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": ; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29:  151 | _series_sampler = new SeriesSnote: ampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class 426 | cha Latr name##_stack_array[sizeof(Tp) e* name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": ncyReco/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | rderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": get_interval_a132t | ( i ) . m e r ge ( * DEFINE_SMALL_ARRAY(uinrhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.mergt32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^e Step #12 - "compile-honggfuzz-address-x86_64": (b/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herech Step #12 - "compile-honggfuzz-address-x86_64": a r name##_stack_array[s53 | izeof(Tp) * nam e_#v#a_rst-a>cokp_(a)r(ravy1_,s ivz2e)];; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^/src/brpc/src/bvar/detail/call_op_returning_void.h Step #12 - "compile-honggfuzz-address-x86_64": :29:12: :166:note: 1:in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here  Step #12 - "compile-honggfuzz-address-x86_64":  note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 29 | ret166u | rtnmp _ospt(avc1k,_ avr2r)a;y Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13:_ siznote: ein instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 168 | /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :   note:  declared herecall_op_returning_void(op, tmp, _data. Step #12 - "compile-honggfuzz-address-x86_64": second/src/brpc/src/butil/macros.h(:i425):)20;: Step #12 - "compile-honggfuzz-address-x86_64":  | note:  ^expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116425: | 16:   note: cin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereo Step #12 - "compile-honggfuzz-address-x86_64": 116 | retnursnt apupnesnidg_nseedco nnda(mvea#l#u_es,t a_cokp_)a;rray_size = (name##_size <= (maxsi Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | ze) ? name##_s i ze :_ ser0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^i Step #12 - "compile-honggfuzz-address-x86_64": es.appe:n162d(:_1o:w nernote: ->expanded from herege Step #12 - "compile-honggfuzz-address-x86_64": t _value(1162) | )t;mp Step #12 - "compile-honggfuzz-address-x86_64": _ s| ta ^c Step #12 - "compile-honggfuzz-address-x86_64": k_array_s/src/brpc/src/bvar/window.h:58:9:i zenote: 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": | ^ Step #12 - "compile-honggfuzz-address-x86_64":  SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 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": 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/redis.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_command.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 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_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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:1447:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1447 | char buf[header_len + 4/*extended ts*/]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1447:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1489 | char buf[header_len + 4/*extended ts*/]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1489:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1531 | char buf[header_len + 4/*extended ts*/]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1531:18: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 1570 | char buf[header_len]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1570:22: note: read of non-const variable 'header_len' is not allowed in a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp:1429:14: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 1429 | uint32_t header_len = bh.header_length; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o 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": /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": 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": 2 warnings generated. 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": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:144:35: note: initializer of 'meta_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 144 | char header_and_meta[24 + meta_size]; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": 142 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o 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": 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/selective_channel.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_request.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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/server.cpp.o 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :188:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 188 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :184:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 184 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.cpp:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = 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]n Step #12 - "compile-honggfuzz-address-x86_64": ew sampler 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16_:t ynote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | p Samep(let(h)i s: data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64":  116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": ); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:/src/brpc/src/bvar/detail/percentile.h98::2899::16 : note: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereexplicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64":  Step #12 - "compile-honggfuzz-address-x86_64": 98 | 289 | t a k e _ s ammepmlsee(t)(this, 0, 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/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) 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/socket.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/progressive_attachment.cpp:20: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/span.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": 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": 2 warnings generated. 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/trackme.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": :223:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 223 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:492 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": :7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :161:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 161 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :157:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 157 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :219:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 219 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :215:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 215 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o 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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": 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/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": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/restful.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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/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": /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": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :14:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 14 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :10:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 10 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :166:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 166 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :162:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 162 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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/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": /src/brpc/src/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :53:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 53 | buf_list_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :49:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 49 | buf_list_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /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": 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": 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/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": :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:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | 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": In file included from /src/brpc/src/brpc/ts.cpp:38: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/policy/rtmp_protocol.h:23: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/server.cpp:36: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #12 - "compile-honggfuzz-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #12 - "compile-honggfuzz-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | Sample tmp; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 98 | take_sample(); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 529 | _sampler = new sampler_type(this); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #12 - "compile-honggfuzz-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64":  |  (void*) Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": :206:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 206 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :202:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 202 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :204:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 204 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :200:1: note: expanded from here Step #12 - "compile-honggfuzz-address-x86_64": 200 | tmp_stack_array_size Step #12 - "compile-honggfuzz-address-x86_64": | ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 499 | b1.merge(b2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 53 | _var->op()(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #12 - "compile-honggfuzz-address-x86_64": 29 | return op(v1, v2); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #12 - "compile-honggfuzz-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #12 - "compile-honggfuzz-address-x86_64": 116 | return append_second(value, _op); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #12 - "compile-honggfuzz-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #12 - "compile-honggfuzz-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #12 - "compile-honggfuzz-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #12 - "compile-honggfuzz-address-x86_64": 49 | class LatencyRecorderBase { Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #12 - "compile-honggfuzz-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #12 - "compile-honggfuzz-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #12 - "compile-honggfuzz-address-x86_64": |  ^ Step #12 - "compile-honggfuzz-address-x86_64": :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": 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": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 3 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 7 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": 4 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/tmp6ytoqex_/fuzz_json Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_shead Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_butil Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_esp Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_redis Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_hpack Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_http Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_hulu Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/fuzz_uri Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp6ytoqex_/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 767 --:--:-- --:--:-- --:--:-- 769 Finished Step #16 Starting Step #17 Step #17: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #17: % Total % Received % Xferd Average Speed Time Time Time Current Step #17: Dload Upload Total Spent Left Speed Step #17: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 68 198M 0 0 68 135M 0 138M 0:00:01 --:--:-- 0:00:01 138M 100 198M 0 0 100 198M 0 115M 0:00:01 0:00:01 --:--:-- 115M 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 417 --:--:-- --:--:-- --:--:-- 418 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 144 --:--:-- --:--:-- --:--:-- 144 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 brpc/get_favicon.pb.h, brpc/get_favicon.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating v3.pb.h, v3.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/get_js.pb.h, brpc/get_js.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook.pb.h, addressbook.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating brpc/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/nshead_meta.pb.h, brpc/nshead_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating addressbook_encode_decode.pb.h, addressbook_encode_decode.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 addressbook_map.pb.h, addressbook_map.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/hulu_pbrpc_meta.pb.h, brpc/policy/hulu_pbrpc_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 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 brpc/policy/mongo.pb.h, brpc/policy/mongo.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating message.pb.h, message.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating repeated.pb.h, repeated.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/public_pbrpc_meta.pb.h, brpc/policy/public_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/policy/sofa_pbrpc_meta.pb.h, brpc/policy/sofa_pbrpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/proto_base.pb.h, brpc/proto_base.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/rtmp.pb.h, brpc/rtmp.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating v2.pb.h, v2.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating v1.pb.h, v1.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 2%] Generating brpc/span.pb.h, brpc/span.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%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #21 - "compile-libfuzzer-address-x86_64": [ 5%] Building 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/snappy/snappy-sinksource.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": [ 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/dump_without_crashing.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/proc_maps_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/debug/stack_trace_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 10%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/environment.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 13%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 16%] Building CXX object 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 test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted_memory.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/singleton.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/weak_ptr.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/file_descriptor_shuffle.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/posix/global_descriptors.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/process_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/rand_util_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fast_rand.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 21%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/safe_strerror_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/sha1_portable.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/latin1_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/nullable_string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/safe_sprintf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string16.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_number_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_split.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_piece.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 24%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/string_util_constants.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/stringprintf.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_offset_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversion_utils.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/utf_string_conversions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object 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 CMakeFiles/PROTO_LIB.dir/brpc/get_favicon.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/synchronization/waitable_event_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/non_thread_safe_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/simple_thread.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_checker_impl.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_collision_warner.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_id_name_manager.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_local_storage_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/thread_restrictions.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/watchdog.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 29%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/default_tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/tick_clock.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time/time_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/version.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/logging.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/class_name.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/errno.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 32%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/find_cstr.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/string_printf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_local.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/thread_key.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/unix_socket.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/fd_utility.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/temp_file.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_watcher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 35%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/time.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/zero_copy_stream_as_streambuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/crc32c.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/containers/case_ignored_flat_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/single_iobuf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/iobuf_profiler.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/binary_printer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/recordio.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/popen.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 37%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/threading/platform_thread_linux.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/strings/sys_string_conversions_posix.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 40%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/iobuf.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v1.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v2.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/v3.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 318 | char metabuf[s.name.size() + 5]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:318:22: note: initializer of 's' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/recordio.cc:312:15: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 312 | auto& s = rec.MetaAt(i); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 833 | struct iovec vec[nref]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:833:22: note: initializer of 'nref' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:832:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 832 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 864 | struct iovec vec[nref]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:864:22: note: initializer of 'nref' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/iobuf.cpp:863:18: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 863 | const size_t nref = std::min(_ref_num(), IOBUF_IOV_MAX); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #21 - "compile-libfuzzer-address-x86_64": 1 warning generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target BUTIL_DEBUG_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target TEST_PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 45%] Built target PROTO_LIB Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/collector.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/default_variables.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/percentile.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 48%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bvar/detail/sampler.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": [ 51%] 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/mutex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/semaphore.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/stack.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/sys_futex.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_control.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/task_group.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 54%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/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/bthread/task_tracer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/json_to_pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/pb_to_json.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_map.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/json2pb/protobuf_type_resolver.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/field_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/mcpack2pb.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/mcpack2pb/serializer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/acceptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 56%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_connection_type.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/adaptive_max_concurrency.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:75:39: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<30UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 75 | g->get_interval_at(index).merge(interval); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :134:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 134 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :130:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 130 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/detail/percentile.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<30>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/combiner.h:225:63: note: in instantiation of member function 'bvar::detail::PercentileSamples<30>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 225 | const ElementTp element_identity = ElementTp(), Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:680:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 680 | _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr_base.h:1344:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 1344 | : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:359:4: note: in instantiation of function template specialization 'std::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::__shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 359 | : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:701:14: note: in instantiation of function template specialization 'std::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>::shared_ptr, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 701 | return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a}, Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/shared_ptr.h:717:19: note: in instantiation of function template specialization 'std::allocate_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>, std::allocator, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 717 | return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(), Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.cpp:89:22: note: in instantiation of function template specialization 'std::make_shared, bvar::detail::PercentileSamples<30>, bvar::detail::detail::AddPercentileSamples>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 89 | : _combiner(std::make_shared()), _samIn file included from pler(NULL) {} Step #21 - "compile-libfuzzer-address-x86_64": | /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": Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: /src/brpc/src/bvar/detail/percentile.h:289explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": :16: 289 |  warning:  first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]m Step #21 - "compile-libfuzzer-address-x86_64": e 289 | ms et(this, 0, 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:s25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26i: Step #21 - "compile-libfuzzer-address-x86_64": z/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": eof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  289 | (void*) Step #21 - "compile-libfuzzer-address-x86_64":  memset(this, 0, sizeof  ( * mthis)); Step #21 - "compile-libfuzzer-address-x86_64": | em ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heres Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": eIn file included from /src/brpc/src/bvar/latency_recorder.cpp 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": t/src/brpc/src/bvar/detail/sampler.h:98:9: note: (this, :23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64":  0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 98/src/brpc/src/bvar/detail/sampler.h:40:16 | : 16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": tak e_s: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": am 40 | Sample()p289 | le(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   : d a t a/src/brpc/src/bvar/detail/percentile.hm(:e)529m,:s e28t:ti(m et_hunote: iss(in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here,0 Step #21 - "compile-libfuzzer-address-x86_64":  )0, {}si Step #21 - "compile-libfuzzer-address-x86_64": z e| of ^ Step #21 - "compile-libfuzzer-address-x86_64": (*529 | t h /src/brpc/src/bvar/detail/sampler.hi :s 116 :) 23) :;   Step #21 - "compile-libfuzzer-address-x86_64":  note: | _in instantiation of member function 'bvar::detail::Sample>::Sample' requested here ^s Step #21 - "compile-libfuzzer-address-x86_64": a Step #21 - "compile-libfuzzer-address-x86_64": m pler = /src/brpc/src/bvar/detail/sampler.hn:e40w:11616 | : s a note: m p in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herel  e Step #21 - "compile-libfuzzer-address-x86_64": r _ t ySpae40m( | p lt eh a )tm;mpp Step #21 - "compile-libfuzzer-address-x86_64": ;l e| Step #21 - "compile-libfuzzer-address-x86_64": ( ) ^| Step #21 - "compile-libfuzzer-address-x86_64": : ^  Step #21 - "compile-libfuzzer-address-x86_64": data(),/src/brpc/src/bvar/detail/sampler.h t:i98m:e9_:u s(note: 0in instantiation 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": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 98 | /src/brpc/src/bvar/detail/sampler.h : 116 : 23t:/src/brpc/src/bvar/detail/percentile.ha :k289e:_note: 16s:ain instantiation of member function 'bvar::detail::Sample>::Sample' requested here mp Step #21 - "compile-libfuzzer-address-x86_64": l note: e()explicitly cast the pointer to silence this warning; Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": |  ^116 Step #21 - "compile-libfuzzer-address-x86_64":  |  /src/brpc/src/bvar/detail/percentile.h 289: | 529 : 28 :  S anote: mpmin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereleem< Step #21 - "compile-libfuzzer-address-x86_64": sT e>t (tmtph;i529s Step #21 - "compile-libfuzzer-address-x86_64": |  , |   ^ 0 Step #21 - "compile-libfuzzer-address-x86_64":  ,   s_isz/src/brpc/src/bvar/detail/sampler.hae:mof(*thi98p:l9e:r note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | s= ));ne Step #21 - "compile-libfuzzer-address-x86_64": w |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  sampler_typ take_e(satmhpilse());; 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:529:28: 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": 289 | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = newm esmasmpler_typeet(t(hitshi,s )0;, Step #21 - "compile-libfuzzer-address-x86_64": | s ^i Step #21 - "compile-libfuzzer-address-x86_64": zeof(*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": | /src/brpc/src/bvar/detail/percentile.h: ^289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/id.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": 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": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  289 | (void*) Step #21 - "compile-libfuzzer-address-x86_64":  memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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/baidu_master_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": 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  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h/src/brpc/src/bvar/detail/percentile.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: :first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 364 :28936 | : note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": memset(this, 0, siz 364eof |  ( *this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": get_inte r40 | Samplval_at(ie).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": ) : da t53a | ( ), t i _vmear->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": _u/src/brpc/src/bvar/detail/call_op_returning_void.h:29s(:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64":  29 | return op0(v1), {v}2) Step #21 - "compile-libfuzzer-address-x86_64": ; |  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/series.h::289168::1613: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | :/src/brpc/src/bvar/detail/sampler.h:116: 23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested herewarning: Step #21 - "compile-libfuzzer-address-x86_64": 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": 98 | take_sample call_op_returning_void(op289(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  , tmp, _ /src/brpc/src/bvar/detail/percentile.h :529 data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  m:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": ems 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": et(this, 0, si/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": zeof(*thi 289 | s)); Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); memset(thi Step #21 - "compile-libfuzzer-address-x86_64": s | , ^ Step #21 - "compile-libfuzzer-address-x86_64": 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new Ser|  ^ Step #21 - "compile-libfuzzer-address-x86_64": iesSampler(this, /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": _v 64 | std::unique_ptr cb(r); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": new CombinedPercentileSamples);/src/brpc/src/bvar/latency_recorder.h:49:7: Step #21 - "compile-libfuzzer-address-x86_64": |  ^ 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 | class /src/brpc/src/bvar/detail/percentile.h:289:16: note: Lexplicitly cast the pointer to silence this warninga Step #21 - "compile-libfuzzer-address-x86_64": tencyRecorder 289 | B maemset(this, 0, ssize { Step #21 - "compile-libfuzzer-address-x86_64": eo| f( ^ Step #21 - "compile-libfuzzer-address-x86_64": *this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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: 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:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from 132 | DEFINE_SMAL/src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: L_ARRAY(uifirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": nt32 289 | memset(this, 0, sizeo_t, tmp, fr(*hsthis)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ._num/src/brpc/src/bvar/detail/sampler.h_:s40a:m16p: lesnote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": , 6 116 | 4); Sample< Step #21 - "compile-libfuzzer-address-x86_64": T> tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation 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": /src/brpc/src/butil/macros.h:426: 98 | take_samp29:le(); 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: expanded from macro 'DEFINE_SMALL_ARRAY'in 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":  426 | char name##_sta/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": ck_ 289 | ar ramemset(tyhis, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": [s |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": izeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": :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": In file included from /src/brpc/src/bthread/key.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bad_method_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | Serie/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | csSamall_op_returning_vpolid(op, tmp, _datae.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: r(Windonote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(w1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: Bnote: ain instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heres Step #21 - "compile-libfuzzer-address-x86_64": e 58 | SeriesSampler(Wi*ndowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sample owner, R*r = new SeriesSampler(this , _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": var) Step #21 - "compile-libfuzzer-address-x86_64": | 49 | ^ Step #21 - "compile-libfuzzer-address-x86_64": class LatencyRecorder/src/brpc/src/bvar/window.h:151:B35:a se 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": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: 151 | 132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * nam[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": e##_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 | tmspe_rstack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned 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": ies_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char /src/brpc/src/bvar/detail/percentile.h:132:13: nwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_2a warningrsr generateda. Step #21 - "compile-libfuzzer-address-x86_64": y[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:a36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": m 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.he:#499:12: #_stacnote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(k_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": b:153:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 2); 153 | 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/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: 425 | const unsigned name##_stack_array_size = note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here (name# Step #21 - "compile-libfuzzer-address-x86_64": 53 | # _ size < = (m_axsize) ? name##va_sirz-e >:o 0p()()v;1 ,\ v Step #21 - "compile-libfuzzer-address-x86_64": 2 )| ; ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  |  ^: Step #21 - "compile-libfuzzer-address-x86_64": 149:1: /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12note: : expanded from here 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": 149 | t29m | p _ s t acrke_taurrrnay _ospi(zve1, Step #21 - "compile-libfuzzer-address-x86_64": v| 2); Step #21 - "compile-libfuzzer-address-x86_64": ^ |  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 168 | ca Step #21 - "compile-libfuzzer-address-x86_64": ll_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 132 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  | /src/brpc/src/bvar/detail/percentile.h:132: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 3 2 _t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": DEFIN 426 | char name##_stack_array[sizeof(Tp) * name##E_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": _SMA 173 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": L L| _A^R Step #21 - "compile-libfuzzer-address-x86_64": RA/src/brpc/src/bvar/detail/percentile.hY:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": (/src/brpc/src/butil/macros.hu:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": int 425 | const unsig3n2ed name##_stack_array_size = (name##_size <= (maxsize) ? name#_#t_,s ize : 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": t 169 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": mp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o 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:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": :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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.cpp:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: /src/brpc/src/bthread/task_control.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 600 | 53DEFINE | _var->_SMALL_ARRAY(op()(int, numvs1, ,v 2n)gro; Step #21 - "compile-libfuzzer-address-x86_64": up| ,  ^ Step #21 - "compile-libfuzzer-address-x86_64": 128)/src/brpc/src/bvar/detail/call_op_returning_void.h;:29: Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 12: /src/brpc/src/butil/macros.h:note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 29 | 426 | return charop(v1, v n2a)m;e##_st Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ack_arr/src/brpc/src/bvar/detail/series.ha:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herey[sizeof Step #21 - "compile-libfuzzer-address-x86_64": (Tp) * n 168 | a call_op_returning_void(op, tmp, _dme##_stack_arraya_tsai.zsee]c;o n d ( 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:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | /src/brpc/src/bthread/task_control.cpp : 600 : 5 :  note: reinitializer of 'nums_stack_array_size' is not a constant expressiontu Step #21 - "compile-libfuzzer-address-x86_64": rn/src/brpc/src/butil/macros.h a:p426p:e42n:d _senote: cexpanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": o nd([ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 426 | v a l u e,c h_aor namp); Step #21 - "compile-libfuzzer-address-x86_64": e| ##_ ^s Step #21 - "compile-libfuzzer-address-x86_64": tack_a/src/brpc/src/bvar/window.hr:r65a:y25: [snote: iin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hereze Step #21 - "compile-libfuzzer-address-x86_64": o f(Tp) 65* | name## _ s t a c k _ a r r_asye_rsiiezse.]a;p p e n d ( _\ow Step #21 - "compile-libfuzzer-address-x86_64": n er->ge|  ^ Step #21 - "compile-libfuzzer-address-x86_64": t_va:l121u:e1(: 1))note: ;expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 121 | nums_stack Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | _ aSrerraiye_ssSiazmeple Step #21 - "compile-libfuzzer-address-x86_64": r (| Wi^n Step #21 - "compile-libfuzzer-address-x86_64": dowBa/src/brpc/src/bthread/task_control.cpps:e600*: ow5n:e r, note: R*declared here v Step #21 - "compile-libfuzzer-address-x86_64": ar)/src/brpc/src/butil/macros.h Step #21 - "compile-libfuzzer-address-x86_64": | :425 ^: Step #21 - "compile-libfuzzer-address-x86_64": 20: /src/brpc/src/bvar/window.hnote: :151expanded from macro 'DEFINE_SMALL_ARRAY':35 Step #21 - "compile-libfuzzer-address-x86_64": : note: 425in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here |  Step #21 - "compile-libfuzzer-address-x86_64": c151o | n s t   u n s i g n_esder inamees#_#s_asmtpalcekr_ a=r ranye_wsi zSe e=r i(ensaSmea#m#p_lseirz(e t::expose_impl' requested here) Step #21 - "compile-libfuzzer-address-x86_64": ; \ Step #21 - "compile-libfuzzer-address-x86_64": | 49 | ^ Step #21 - "compile-libfuzzer-address-x86_64": class:117 :L1a:t encnote: yRexpanded from hereec Step #21 - "compile-libfuzzer-address-x86_64": o rderBas117e | n{um Step #21 - "compile-libfuzzer-address-x86_64": s _| st ^a Step #21 - "compile-libfuzzer-address-x86_64": ck_arra/src/brpc/src/bvar/detail/percentile.hy:_132:13s: izenote:  Step #21 - "compile-libfuzzer-address-x86_64": initializer of 'tmp_stack_array_size' is not a constant expression | Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": 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: 317 | FixedHeadAndValue tmp[cur_batcwarning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": h]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316: 289 | 26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | mem se t (ctohnisst, 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 | 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": Fixe/src/brpc/src/bvar/detail/sampler.hdH:98e:a9dAn:d Valnote: uein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here t Step #21 - "compile-libfuzzer-address-x86_64": m p[cur_b98 | atch ] ;  Step #21 - "compile-libfuzzer-address-x86_64": t| ak ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": e_sam/src/brpc/src/mcpack2pb/serializer.cppp:l389e:(3):;  Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, c |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ou/src/brpc/src/bvar/detail/percentile.h:529:28: note: nt); } 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_batchin 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": |  ^~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  529 | /src/brpc/src/mcpack2pb/serializer.cpp _sam:395pler = n:3ew sampler_t: ype(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #21 - "compile-libfuzzer-address-x86_64": 395 | { add_primitiv/src/brpc/src/bvar/detail/percentile.h:289:16: esnote: (explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": _stream 289 | , memset(thpeis, 0, eksizeof(_g*this));ro Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  | up (void*) Step #21 - "compile-libfuzzer-address-x86_64": _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 here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 2 warnings generated. 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": [ 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": 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": 2 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": 3 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 = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/index_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/list_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/adaptive_max_concurrency.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/acceptor.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_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": :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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/baidu_master_service.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/method_status.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_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/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/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": 132 | 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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": :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/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 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/sockets_service.cpp.o 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/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": :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/status_service.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": [ 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/dir_service.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall][0m Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :199:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 199 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/grpc_health_check_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_js_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/get_favicon_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :240:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 240 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :236:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 236 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64":  132 | DEFINE_SMA/src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": LL_ARRAY(uint32_t, tmp, rhs._num_samples, 64/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": ) 132 | ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  DEFINE/src/brpc/src/butil/macros.h_:426SMALL:_29: Anote: RRAY(uint 32_t,expanded from macro 'DEFINE_SMALL_ARRAY' tmp, Step #21 - "compile-libfuzzer-address-x86_64": rhs._num_sam p426l | e s , 6c4ha)r; Step #21 - "compile-libfuzzer-address-x86_64": n a| m ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: 58note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": | SeriesSampl 426 | char name##_steack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": er 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": (Win d168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | o _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": wB##_st a58 | a Ssceke* r_iaersownerrSayampler(WindowBase,* o[wner, sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": | RR* var) Step #21 - "compile-libfuzzer-address-x86_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/bvar/detail/percentile.h: ^364 Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/window.h36:: 151:note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h :364151 | :35: 151 |  note:  _seriesin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": _sampl get_er = new SerintiesSampleer(this,rval_at(i).merg e 151_( | v* ar rh )s ;. _ Step #21 - "compile-libfuzzer-address-x86_64": i n | t e ^r Step #21 - "compile-libfuzzer-address-x86_64": v a_lsse[riie]s)/src/brpc/src/bvar/latency_recorder.h;_:s49 Step #21 - "compile-libfuzzer-address-x86_64": a: m7| p:l ^e Step #21 - "compile-libfuzzer-address-x86_64": r note: = in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested heren/src/brpc/src/bvar/detail/percentile.h Step #21 - "compile-libfuzzer-address-x86_64": e: w499:12 :49S | ercinote: leasin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heresSsa Step #21 - "compile-libfuzzer-address-x86_64": m p Llaetre(nctyhRiesco499,r | d _e vr aB ra )s ;e  Step #21 - "compile-libfuzzer-address-x86_64": {b | 1 Step #21 - "compile-libfuzzer-address-x86_64": . ^m| e Step #21 - "compile-libfuzzer-address-x86_64": r ^g Step #21 - "compile-libfuzzer-address-x86_64": e(b2)/src/brpc/src/bvar/latency_recorder.h;:49/src/brpc/src/bvar/detail/percentile.h Step #21 - "compile-libfuzzer-address-x86_64": :: 7132| :: 13 ^: Step #21 - "compile-libfuzzer-address-x86_64":  note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested herenote: /src/brpc/src/bvar/window.hinitializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": : 53 Step #21 - "compile-libfuzzer-address-x86_64": : 49 | class La17t132:e | n c y note: R e in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herec o Step #21 - "compile-libfuzzer-address-x86_64": r d e r BDaEsFe53I | N{ E _ Step #21 - "compile-libfuzzer-address-x86_64": S M| A ^L Step #21 - "compile-libfuzzer-address-x86_64": L _ A R R /src/brpc/src/bvar/detail/percentile.h A: Y132_(:vua13ir:n- t>3o2pnote: _(t)initializer of 'tmp_stack_array_size' is not a constant expression,( vt Step #21 - "compile-libfuzzer-address-x86_64": 1m ,p ,v 2r)h;s. Step #21 - "compile-libfuzzer-address-x86_64": _ n| um ^_132 Step #21 - "compile-libfuzzer-address-x86_64": s | a m p l e /src/brpc/src/bvar/detail/call_op_returning_void.hs :, 29 : 12 6:4  DEFINE_SMALL_ARRAY(uin); Step #21 - "compile-libfuzzer-address-x86_64": |  ^note: Step #21 - "compile-libfuzzer-address-x86_64": in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h: 42629: | 42 :  note: reexpanded from macro 'DEFINE_SMALL_ARRAY'tu Step #21 - "compile-libfuzzer-address-x86_64": rn op(v1, v2) ;426 Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": | 168 | t32_t, tmp, rhs. 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_n:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": u 425 | const unsigned name##_smtack_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": _s 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": amples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426 : 42 :  cnote: alexpanded from macro 'DEFINE_SMALL_ARRAY'l_ Step #21 - "compile-libfuzzer-address-x86_64": o p_returning_void(op, tmp, _dat426a | . s e 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": cchoarn dn(aim))e##;_st Step #21 - "compile-libfuzzer-address-x86_64": a| c ^k Step #21 - "compile-libfuzzer-address-x86_64": _arra/src/brpc/src/bvar/detail/series.hy[:116s:16: izenote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested hereof Step #21 - "compile-libfuzzer-address-x86_64":  (Tp) * name##116 | _ s t ack _ a r rreatyu_rsniz ea]p;p e n d _ s e\co Step #21 - "compile-libfuzzer-address-x86_64": n d|  ^ Step #21 - "compile-libfuzzer-address-x86_64": (valu:e219,: 1_:o p);note:  Step #21 - "compile-libfuzzer-address-x86_64": expanded from here | Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": 219 | /src/brpc/src/bvar/window.ht:m65p:_25s:t acknote: _ain instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested hererr Step #21 - "compile-libfuzzer-address-x86_64": a y_size Step #21 - "compile-libfuzzer-address-x86_64": | ^65 Step #21 - "compile-libfuzzer-address-x86_64":  |  /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :   note:  declared here _ Step #21 - "compile-libfuzzer-address-x86_64": seri/src/brpc/src/butil/macros.he:s425.:a20p:p endnote: (_expanded from macro 'DEFINE_SMALL_ARRAY'ow Step #21 - "compile-libfuzzer-address-x86_64": n er->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": | 425 | ^ Step #21 - "compile-libfuzzer-address-x86_64":   co/src/brpc/src/bvar/window.hn:s58t:9 : unsnote: igin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested herene Step #21 - "compile-libfuzzer-address-x86_64": d  name#58# | _ s t a c k _ a rSrearyi_essiSzaem =p l(enra(mWei#n#d_oswiBzaes e<*= o(wmnaexrs,i zRe*) v?a rn)am Step #21 - "compile-libfuzzer-address-x86_64": e #| #_ ^s Step #21 - "compile-libfuzzer-address-x86_64": ize :/src/brpc/src/bvar/window.h :1510:35):; \note: Step #21 - "compile-libfuzzer-address-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here|  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1151: |   note:  expanded from here  Step #21 - "compile-libfuzzer-address-x86_64": _seri215e | st_mspa_msptlaecrk _=a rrnaeyw_s iSzeeri Step #21 - "compile-libfuzzer-address-x86_64": e s| Sa^m Step #21 - "compile-libfuzzer-address-x86_64": pl[ 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": er(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | In file included from /src/brpc/src/brpc/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": DE 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16:FINE_SMALL_ARRAY(uint32_t, tmp, rh note: s._num_sin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": a mples, 6440 | ); Step #21 - "compile-libfuzzer-address-x86_64": | Sample( ^ Step #21 - "compile-libfuzzer-address-x86_64": )/src/brpc/src/butil/macros.h:426:42: : data( note: expanded from macro 'DEFINE_SMALL_ARRAY'), time Step #21 - "compile-libfuzzer-address-x86_64": _ 426 | u char name##_stack_array[ssize(of(Tp0) {}) * name## 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/sampler.h:116:23: ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": note: 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:132in instantiation of member function 'bvar::detail::Sample>::Sample' requested here:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 |  Step #21 - "compile-libfuzzer-address-x86_64": const unsigned nam 116 | e##_st ac k_arrSaamplye t_size =mp; Step #21 - "compile-libfuzzer-address-x86_64": (nam|  ^ Step #21 - "compile-libfuzzer-address-x86_64": e/src/brpc/src/bvar/detail/sampler.h:98:9:##_size <= (maxs note: ize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64":  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":  98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/connections_service.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | In file included from ret/src/brpc/src/brpc/builtin/ids_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": u/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": rn app 116e | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | nd_ _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": secon/src/brpc/src/bvar/detail/percentile.h:d289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | (memset(thisv, 0,a siluezeof, _o(*p);t Step #21 - "compile-libfuzzer-address-x86_64": h| is ^ Step #21 - "compile-libfuzzer-address-x86_64": )); Step #21 - "compile-libfuzzer-address-x86_64": | /src/brpc/src/bvar/window.h ^: Step #21 - "compile-libfuzzer-address-x86_64": 65: 25| : (void*) 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: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/controller.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 12 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": 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": In file included from /src/brpc/src/brpc/builtin/hotspots_service.cpp:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/http_parser.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :50:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 50 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :46:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 46 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/jemalloc_profiler.cpp.o 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 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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/mesalink_ssl_helper.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/method_status.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/naming_service_thread.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": In file included from /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": 426 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h: | 529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | c memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": har name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/rtmp_utils.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/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/usercode_backup_pool.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/esp_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 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, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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 unsIn 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:igned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0);26 \: 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:215:1: :289note: :16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": expanded from here 289 | memset(th Step #21 - "compile-libfuzzer-address-x86_64": is, 0,215 sizeo | tmpf_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": (*t| h^is 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 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:In file included from /src/brpc/src/brpc/builtin/sockets_service.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 16 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": : /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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.hIn 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": 65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/grpc.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/http2.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/builtin/version_service.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/http_message.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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/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_header.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": :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": :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": 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.h49:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h: | 26: Step #21 - "compile-libfuzzer-address-x86_64": cl/src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": ass La 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": t e40n | c y R e cSample() : datao(r)d,e time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.hr:116B:a23s:e {note: Step #21 - "compile-libfuzzer-address-x86_64":  in instantiation of member function 'bvar::detail::Sample>::Sample' requested here|  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64":  116 |  /src/brpc/src/bvar/detail/percentile.h : 132 : 13 :  Snote: aminitializer of 'tmp_stack_array_size' is not a constant expressionpl 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/sampler.h: 98132: | 9 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #21 - "compile-libfuzzer-address-x86_64": DEF I98N | E _ S M A L L _ AtRaRkAe_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:Y529(:u28i:n t32note: _tin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here, Step #21 - "compile-libfuzzer-address-x86_64": tmp, rhs._num_s a529m | p l e s ,  6 4  ) ; _ Step #21 - "compile-libfuzzer-address-x86_64": s a| mp ^l Step #21 - "compile-libfuzzer-address-x86_64": er = ne/src/brpc/src/butil/macros.hw:426 :s42a:m plenote: r_expanded from macro 'DEFINE_SMALL_ARRAY'ty Step #21 - "compile-libfuzzer-address-x86_64": pe(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  426 | char name##_stack_ar/src/brpc/src/bvar/detail/percentile.h:289:r16:a y[sinote: zeexplicitly cast the pointer to silence this warningo Step #21 - "compile-libfuzzer-address-x86_64": f(Tp) * name##_ stack289_ | a r r ay _ s i z em];e m s e t ( t\hi Step #21 - "compile-libfuzzer-address-x86_64": s | ,  ^0 Step #21 - "compile-libfuzzer-address-x86_64": , size:o160f:1(:* thnote: is)expanded from here); Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 160 | | t (void*) Step #21 - "compile-libfuzzer-address-x86_64": mp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned 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:In file included from note: expanded from here/src/brpc/src/brpc/checksum.cpp:18 Step #21 - "compile-libfuzzer-address-x86_64": : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h: 21156: Step #21 - "compile-libfuzzer-address-x86_64": | In file included from tmp/src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": _stackIn file included from /src/brpc/src/brpc/socket_id.h:_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/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": : 132 | DEFINE_SMA9L:L _ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' 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: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | 364 | get_interval_at(i).me rge(*rhs._intervaltask[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": e_/src/brpc/src/bvar/detail/percentile.hs:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": amp le()499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53: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 |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  _var->op()(/src/brpc/src/bvar/detail/percentile.hv:1529,: v2); Step #21 - "compile-libfuzzer-address-x86_64": 28:|  ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/call_op_returning_void.h:29note: :in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here12: 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": 529 | 168 | call_op_returning_void(op, tmp, _data.se 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": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": /src/brpc/src/bvar/detail/percentile.h:132:13: 225 | twarning: mp_variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]st Step #21 - "compile-libfuzzer-address-x86_64": ack_array_size 132 Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ 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 | _ sarmeptluerrn op(v1, = new sampler_ty pve2)(this); 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": 289 :| 16: ^ Step #21 - "compile-libfuzzer-address-x86_64": note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here 289 | memset(this, 0, sizeof Step #21 - "compile-libfuzzer-address-x86_64": (*th i168s |  ) ) ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^c Step #21 - "compile-libfuzzer-address-x86_64": al l| _o (void*) Step #21 - "compile-libfuzzer-address-x86_64": p_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o 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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##In file included from _stack_array/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 siz/src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": eo 289 | memset(this, 0, sizeof(*fthis)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": (/src/brpc/src/bvar/detail/sampler.hT:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": p40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": ) 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": * 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": n 529 | _sampame##_stlaecrk _= anew samplerr_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ray_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364/src/brpc/src/bvar/detail/percentile.h:289::3616: : note: explicitly cast the pointer to silence this warningnote: 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": 289 | memset(this, 0, sizeof(*this)); 364 Step #21 - "compile-libfuzzer-address-x86_64": |  | ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/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": | 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": ^ Step #21 - "compile-libfuzzer-address-x86_64":  289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": :132 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 13:  98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": note:  529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:/src/brpc/src/butil/macros.h:42516: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": :20 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_message.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_pb_service_adaptor.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 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": 2 warnings generated. 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": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 2 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _ warningseries.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": s 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": generated. Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :194:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 194 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/partition_channel.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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 unsigneIn 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": d na m529e | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ##_stack_array_/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/auto_concurrency_limiter.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^In file included from /src/brpc/src/brpc/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": : Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning:  426first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": | char n 289 | meammset(this, 0, sizeofe##_stack_array[si(z*eotfhi(sTp))) ;* Step #21 - "compile-libfuzzer-address-x86_64": n a| me ^# Step #21 - "compile-libfuzzer-address-x86_64": #_stack_ar/src/brpc/src/bvar/detail/sampler.hr:a40y:_16s:i ze]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":   Sam:p33l:e1(:) : note: daexpanded from hereta Step #21 - "compile-libfuzzer-address-x86_64": 33 | tmp_stack_array_(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | taksize Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": e_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 425 | c/src/brpc/src/bvar/detail/percentile.ho:n529s:t28: unnote: siin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heregne Step #21 - "compile-libfuzzer-address-x86_64": d name##529_ | s t a ck_array_ s i z e _=s a(mnpalmeer# #=_ sinzeew < =s a(mmpaxlsize) ? ner_type(this); Step #21 - "compile-libfuzzer-address-x86_64": ame##_size :  |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 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_arr/src/brpc/src/bvar/detail/percentile.ha:y289_:s16ize Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": : note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/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": [ 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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char nIn 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: ame##_stwarning: ackfirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]_a Step #21 - "compile-libfuzzer-address-x86_64": rray[sizeof(Tp) * name #289# | _ s t a c k _ a rmreamys_size]; et \ 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": (this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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": :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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": :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": [ 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": [ 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/couchbase_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/crc32c_checksum.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/discovery_naming_service.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :170:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 170 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :166:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": [ 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/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": 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": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :161:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 161 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :157:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 157 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64":  132 | chDEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 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:1162 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": :16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/giano_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http2_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, 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/http_rpc_protocol.cpp.o 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": 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": 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": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/parallel_channel.cpp/src/brpc/src/bvar/detail/percentile.h::615132::513:: warning: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] 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": 132615 | | D E F I N E _ SDMEAFLILN_EA_RSRMAAYL(LS_uAbRCRaAlYl(,u ianpts3,2 _ntc,h atnm,p , 6r4hs).;_n Step #21 - "compile-libfuzzer-address-x86_64": u m| _ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": s/src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": a/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.hm:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ples,  426 | 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": 64); 55 | aps 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/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": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": :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/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": 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": [ 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": [ 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/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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 426/src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h | :26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h: char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 32 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": : Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  |  warning:  first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]_ Step #21 - "compile-libfuzzer-address-x86_64": var->o 289 | memsetp()(v1(this, 0, sizeof(*this));, Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^/src/brpc/src/bvar/detail/sampler.h: Step #21 - "compile-libfuzzer-address-x86_64": 116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | /src/brpc/src/bvar/detail/call_op_returning_void.h Sample tmp;:29 Step #21 - "compile-libfuzzer-address-x86_64": |  ^:12 Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | :98:9 : return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: Step #21 - "compile-libfuzzer-address-x86_64":  note: /src/brpc/src/bvar/detail/series.hin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here:168 Step #21 - "compile-libfuzzer-address-x86_64": : 529 | 13 : _samplenote: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": r =168 | call_op_retur ning_void(opnew, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16:sampler_ty pnote: e(thiin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested heres Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^( Step #21 - "compile-libfuzzer-address-x86_64": 1 | )) (void*); Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": :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": 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nova_pbrpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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_arIn file included from ray_size Step #21 - "compile-libfuzzer-address-x86_64": /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 | m | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": emset(th 426 | char name##_stack_array[sizeof(Tips) ,* na0me##_st, sack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": i z| eo ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~f Step #21 - "compile-libfuzzer-address-x86_64": (*/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": this)) 364 | get_interval_at(;i) Step #21 - "compile-libfuzzer-address-x86_64": . m| er ^g Step #21 - "compile-libfuzzer-address-x86_64": e(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: 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/sampler.h:40:16:  499 | b1.merge(note: b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herein 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);40 | Step #21 - "compile-libfuzzer-address-x86_64": |  ^S Step #21 - "compile-libfuzzer-address-x86_64": ample(/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: )note: :in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here d Step #21 - "compile-libfuzzer-address-x86_64": a 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": | ta ^( Step #21 - "compile-libfuzzer-address-x86_64": ), /src/brpc/src/bvar/detail/series.htime_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 168 |  /src/brpc/src/bvar/detail/sampler.h : call_op_returning_void(o116p:,23 :t mp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": note: /src/brpc/src/bvar/detail/series.hin instantiation of member function 'bvar::detail::Sample>::Sample' requested here:116 Step #21 - "compile-libfuzzer-address-x86_64": :16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return appe n116d | _ second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65 : 25 : Sanote: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": mple t m65p | ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  _series.append(_owner->get_value(1/src/brpc/src/bvar/detail/sampler.h:)98):9: note: ; Step #21 - "compile-libfuzzer-address-x86_64":  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here|  Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | 98S | e riesSampler ( W i ndowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :151:35: /src/brpc/src/bvar/detail/percentile.h:529:28:note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _s529 | eries_sa mpler =  n ew SeriesSampler(this, _var); _ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": sampler = new sam/src/brpc/src/bvar/latency_recorder.h:49:7: pler_type(thisnote: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyR); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": :289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 289203 | | tmp _ memset(this, 0, stack_asizeof(*this))rray_size Step #21 - "compile-libfuzzer-address-x86_64": | ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132|  (void*) Step #21 - "compile-libfuzzer-address-x86_64": :13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :199:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 199 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": [ 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": 2 warnings generated. 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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :217:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 217 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :213:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 213 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler/src/brpc/src/bvar/detail/percentile.h:132:13: warning:  =variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]  Step #21 - "compile-libfuzzer-address-x86_64": new Seri 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).mergeesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": (*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/randomized_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/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(*th2 warningis)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": s generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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)[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_authenticator.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": ? 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/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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/brpc/policy/baidu_rpc_protocol.cpp:84:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:84:35: note: initializer of 'meta_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 84 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:82:20: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 82 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/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": 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: Step #21 - "compile-libfuzzer-address-x86_64": 33: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168In file included from :/src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here: Step #21 - "compile-libfuzzer-address-x86_64": 27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h 168:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h | :289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": call_op_returning_ 289 | memset(this, 0, sizeof(*this));vo Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": id(op, tmp, _data.s/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) econd(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:{116}:16: note: 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": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23116: |  note:  in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": retu116r | n  a p p e n d _ s e Scaonmpdl(ealu e,tm p_;op 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 Step #21 - "compile-libfuzzer-address-x86_64": :98:9: /src/brpc/src/bvar/window.hnote: :65in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here: Step #21 - "compile-libfuzzer-address-x86_64": 25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | 65 | t a k e _ s a m p le ( ) ; Step #21 - "compile-libfuzzer-address-x86_64": _ s| er ^i Step #21 - "compile-libfuzzer-address-x86_64": es.app/src/brpc/src/bvar/detail/percentile.hend:(529_:o28w:n er->note: gin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereet Step #21 - "compile-libfuzzer-address-x86_64": _ value(1529) | ) ;  Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  _sam/src/brpc/src/bvar/window.hp:l58e:r9 := newnote:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heresa Step #21 - "compile-libfuzzer-address-x86_64": mpler_ty p58 | e (  t h i s  )S;er Step #21 - "compile-libfuzzer-address-x86_64": i e| sS ^a Step #21 - "compile-libfuzzer-address-x86_64": mpler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:/src/brpc/src/bvar/window.h289::15116::35 : note: note: explicitly cast the pointer to silence this warningin 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 | 289 | _ smeermiseest_(satmhpilser, = 0n,e ws SeriizesSeaompler(th/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": f(* 132 | DEFINE_SMALL_ARRAY(uint32_t, itsmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64":  426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": , _var)/src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": t 364 | hi; get_interval_at(i).mer Step #21 - "compile-libfuzzer-address-x86_64": g e| (* ^rhs._intersva)l)s;[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": (void*)/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.me/src/brpc/src/bvar/latency_recorder.hr:49ge(b2):; Step #21 - "compile-libfuzzer-address-x86_64": | 7 ^: Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here/src/brpc/src/bvar/window.h:53: Step #21 - "compile-libfuzzer-address-x86_64": 17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 49 | class/src/brpc/src/bvar/detail/call_op_returning_void.h: 29L:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": a 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": t 168 | e nccaylRl_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | Step #21 - "compile-libfuzzer-address-x86_64": ecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ASeriesSamplReRrAY(Wi(ndouwBaintse* owner32,_ tR,* v atmp, rhsr). Step #21 - "compile-libfuzzer-address-x86_64": |  ^_n Step #21 - "compile-libfuzzer-address-x86_64": um_sa/src/brpc/src/bvar/window.h:151:35: mples, 64); Step #21 - "compile-libfuzzer-address-x86_64":  | note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h: 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 426/src/brpc/src/bvar/latency_recorder.h:49:42:: note: 7expanded from macro 'DEFINE_SMALL_ARRAY': note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase 426 | { Step #21 - "compile-libfuzzer-address-x86_64": char name##_stac |  ^ Step #21 - "compile-libfuzzer-address-x86_64": k_/src/brpc/src/bvar/detail/percentile.h:a132:r13:r anote: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": y[ 132s | i DzEFeINoE_fSMAL(L_TARpRA)Y( ui*nt 32_t, tmp, rnhsa._mnuem#_#sa_mspltesa, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.hc:426k:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": _arra 426 | chary_ nsamie#z#_est]ac;k _array[siz eo f (T p) \* na Step #21 - "compile-libfuzzer-address-x86_64": me ##| _stack_array_ ^si Step #21 - "compile-libfuzzer-address-x86_64": ze]; \ 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 | :tm219p_:st1ack_array_si:ze Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:  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 | note:  declared here  Step #21 - "compile-libfuzzer-address-x86_64": cons/src/brpc/src/butil/macros.ht:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": unsigned name##_s425ta | c k _ arcroany_sstiz e un=s i(nganmeed## n_asmizee# #<_=s t(amcakx_asrirzae)y _?s inzaem e=# #(n_asmizee# #:_ si0z);e \<= Step #21 - "compile-libfuzzer-address-x86_64": (| ma ^x Step #21 - "compile-libfuzzer-address-x86_64": size) :?219 :n1a: me#note: #_expanded from heresi Step #21 - "compile-libfuzzer-address-x86_64": z e : 0); 219\ | t Step #21 - "compile-libfuzzer-address-x86_64": m p| _s ^ Step #21 - "compile-libfuzzer-address-x86_64": tack_a:r215:r1a:y_ siznote: eexpanded from here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": | ^ 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/rtmp_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp:30: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/snappy_compress.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/sofa_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": :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": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.cpp:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 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": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http2_rpc_protocol.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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/http_rpc_protocol.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/http_rpc_protocol.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/input_messenger.h:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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": 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/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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | retu2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": rn op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/progressive_attachment.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/randomized_load_balancer.cpp:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/mongo_protocol.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :110:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 110 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :106:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 106 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #21 - "compile-libfuzzer-address-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMA LL _ ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": Seri 151 | esSampl er(_series_samWindowpler =Base* new Serieowner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": sSampler(this,/src/brpc/src/bvar/window.h: 151_:va35r:) ; Step #21 - "compile-libfuzzer-address-x86_64": note: | in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: 151note: |  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 49 | _cslearsises _LsaatmepnlceyrR e=c orndeewrB aSseer i{es Step #21 - "compile-libfuzzer-address-x86_64": S a| mp ^l Step #21 - "compile-libfuzzer-address-x86_64": er(this/src/brpc/src/bvar/detail/percentile.h:,132 :_var)13:;  Step #21 - "compile-libfuzzer-address-x86_64":  note: | initializer of 'tmp_stack_array_size' is not a constant expression ^ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: 132 |  note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here  Step #21 - "compile-libfuzzer-address-x86_64": DE49F | INcEl_aSsMsAL LL_aAtReRnAcYy(Rueicnotr3d2e_rtB,a stem p{, Step #21 - "compile-libfuzzer-address-x86_64": r hs._| nu ^m Step #21 - "compile-libfuzzer-address-x86_64": _samples,/src/brpc/src/bvar/detail/percentile.h :1326:413:) ; 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/butil/macros.h:132426 | : 42 :   note:  expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": DEFINE_SMALL426_ | A R R A Y(ucihnatr32 _nta,m e##_stactkm_pa,r rrahys[._sniuzme_osfam(pTlpe)s ,* n6a4me)#;#_ Step #21 - "compile-libfuzzer-address-x86_64": s t| ac ^k Step #21 - "compile-libfuzzer-address-x86_64": _arra/src/brpc/src/butil/macros.hy:_426s:i42: ze]note: ; expanded from macro 'DEFINE_SMALL_ARRAY'  Step #21 - "compile-libfuzzer-address-x86_64": \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 426 |  :c219h:ar name##1: _note: sexpanded from heretac Step #21 - "compile-libfuzzer-address-x86_64": k _array[siz219e | otfmp(_Tspt)a c*k _naarmrea#y#__ssitzaeck Step #21 - "compile-libfuzzer-address-x86_64": _ a| rr^a Step #21 - "compile-libfuzzer-address-x86_64": y_size];   \ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h| :132 ^: Step #21 - "compile-libfuzzer-address-x86_64": 13: note: :declared here223: Step #21 - "compile-libfuzzer-address-x86_64": 1: /src/brpc/src/butil/macros.h:425note: :expanded from here20: Step #21 - "compile-libfuzzer-address-x86_64":  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 223 | tmp_s425t | a c k _ arcronsaty_ siuznesi Step #21 - "compile-libfuzzer-address-x86_64": g n| ed^ Step #21 - "compile-libfuzzer-address-x86_64": name#/src/brpc/src/bvar/detail/percentile.h#:_132s:t13a:c k_anote: rrdeclared hereay Step #21 - "compile-libfuzzer-address-x86_64": _siz/src/brpc/src/butil/macros.he: 425=: 20(:n amenote: ##expanded from macro 'DEFINE_SMALL_ARRAY'_s Step #21 - "compile-libfuzzer-address-x86_64": i ze <= (ma425 | x s i z e)c o?n sntam e#u#n_ssiigznee d: n0am)e;# #\_s Step #21 - "compile-libfuzzer-address-x86_64": t a| ck ^_ Step #21 - "compile-libfuzzer-address-x86_64": array:_215s:i1z:e = note: (nexpanded from heream Step #21 - "compile-libfuzzer-address-x86_64": e ##_siz215e | t' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64":  char header_and_m Step #21 - "compile-libfuzzer-address-x86_64": eta[|  ^ Step #21 - "compile-libfuzzer-address-x86_64": 12 + :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_arrameta_si289ze]; Step #21 - "compile-libfuzzer-address-x86_64": | |  ^~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": memset(thi/src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:582:5y_si: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #21 - "compile-libfuzzer-address-x86_64": 582 | zsS, erializ0, seHuluHeae Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": derAndMeta(&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": izeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/nova_pbrpc_protocol.cpp:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/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;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": Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": |  ^40 | 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/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: :98in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98= n | ew  samp le r _ttaykpe(this); Step #21 - "compile-libfuzzer-address-x86_64": | e_sample ^( 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: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new/src/brpc/src/bvar/detail/percentile.h: 289s:a16m:p lernote: _texplicitly cast the pointer to silence this warningyp Step #21 - "compile-libfuzzer-address-x86_64": e(this) ;289 | Step #21 - "compile-libfuzzer-address-x86_64": me |  ^ Step #21 - "compile-libfuzzer-address-x86_64": mset(this, 0,/src/brpc/src/bvar/detail/percentile.h s:289:16: izeonote: fexplicitly cast the pointer to silence this warning( Step #21 - "compile-libfuzzer-address-x86_64": * this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 289 | |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_endpoint.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_o/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": wner->get_value(1 132 | DEFIN)E)_;SM Step #21 - "compile-libfuzzer-address-x86_64": ALL_ARRAY(uint32_t, tmp, rhs._num |  ^ Step #21 - "compile-libfuzzer-address-x86_64": _sample/src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested heres Step #21 - "compile-libfuzzer-address-x86_64": , 58 |  64SeriesSampler(Windo);wB Step #21 - "compile-libfuzzer-address-x86_64": a | se ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~* Step #21 - "compile-libfuzzer-address-x86_64": owner/src/brpc/src/butil/macros.h,: 426R:* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": In file included from 426 | /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp29:: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_v/src/brpc/src/bvar/detail/percentile.ho:i132d:13: warning: char name##_st22ack_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": : Step #21 - "compile-libfuzzer-address-x86_64": In file included from 219 | tmp_stac/src/brpc/src/brpc/socket.hk_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": :/src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h 425 | const unsigned 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: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]expanded from here Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' (:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h Step #21 - "compile-libfuzzer-address-x86_64": 215:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h | otpmp_stack_array, tm:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.hp,_ s_idza:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:e 426ta.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  Step #21 - "compile-libfuzzer-address-x86_64": | ^ 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 | /src/brpc/src/bvar/detail/series.h:116:16: warning: _first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | v note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return  ap pe nd_second(va l ue, _memset(this, 0,op) s; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.hizeof(*:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | thi _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": s)); Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { 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 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples,  289 | memset(this64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": , 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": (Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": ar->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h::166168::13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": 166 | tmp 168_stack_array_size |  Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsignedc name##_stack_arraall_op_returning_voy_size = (nameid(op##,_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": 162t | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": mp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rdma/rdma_helper.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/public_pbrpc_protocol.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/reloadable_flags.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | /src/brpc/src/bvar/detail/percentile.h :132:13:  warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": | 132 |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | cl DEasFIsNE _SMLatencyRecALL_ARRAY(uint32or_td,erB tmp, rhs._num_samples, 64ase { Step #21 - "compile-libfuzzer-address-x86_64": | ) ^ Step #21 - "compile-libfuzzer-address-x86_64": ; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29/src/brpc/src/bvar/detail/percentile.h::132:13:  note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": note: 426 | charinitializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": na me##_sta132 | c k_a DEFIrNray[siEz_SeMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": | of ^ Step #21 - "compile-libfuzzer-address-x86_64": (Tp) * /src/brpc/src/butil/macros.hname##_s:426:42:t ack_array_sizenote: ];expanded from macro 'DEFINE_SMALL_ARRAY' \ Step #21 - "compile-libfuzzer-address-x86_64":  |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 426 |  364 | c get_hintar namerval_ate##_sta(i).mergeck_arra(*rhs._y[sizeintervalof(Tp) s[i]); Step #21 - "compile-libfuzzer-address-x86_64": * name##|  ^ Step #21 - "compile-libfuzzer-address-x86_64": _stack_ar/src/brpc/src/bvar/detail/percentile.h:499:12:ray_size note: 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": | b1 ^ Step #21 - "compile-libfuzzer-address-x86_64": .:223:1: merge(b2note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": ); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  223 | tmp_st/src/brpc/src/bvar/window.h:53ack_arra:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested herey_ Step #21 - "compile-libfuzzer-address-x86_64": s 53 | ize Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/percentile.h _var:132:13: note: ->declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.hop:()(v1, v425:20: 2); 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": 425 | c/src/brpc/src/bvar/detail/call_op_returning_void.honst u:29:12: nsignednote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64":  29name##_st | rack_arreturn oay_sizp(v1, ve = (nam2); Step #21 - "compile-libfuzzer-address-x86_64": | e##_size ^ Step #21 - "compile-libfuzzer-address-x86_64":  /src/brpc/src/bvar/detail/series.h:168:13<= (maxs: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested hereiz Step #21 - "compile-libfuzzer-address-x86_64": e) ? name## 168 | _size : 0 ); \ Step #21 - "compile-libfuzzer-address-x86_64": | ca ^ Step #21 - "compile-libfuzzer-address-x86_64": ll_op_r:219:1: eturninnote: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": g_void(op 219 | tmp_s, tmp, _tack_ardata.secoray_siznde Step #21 - "compile-libfuzzer-address-x86_64": | (i)); Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_st[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/restful.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAYack_arra(y_usiint32_t, tmp, rhs._num_samplesz,e 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ] 426 | char name##_stack_array[si;z e o f  ( T\p) Step #21 - "compile-libfuzzer-address-x86_64": *| n ^a Step #21 - "compile-libfuzzer-address-x86_64": me##_stack:_219array_size]; : 1 : \note: Step #21 - "compile-libfuzzer-address-x86_64":  expanded from here|  Step #21 - "compile-libfuzzer-address-x86_64": ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 219 364 | get_interval_at(i).merge(*rhs._ | intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": tmp_/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": s/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": t 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": a/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: cin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested herek_ Step #21 - "compile-libfuzzer-address-x86_64": array_size Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: | in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": ^ 168 | call_op_returning_void(op, tmp, _data.sec Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132o:n13d:( i)note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20:) note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": ; 425 | const Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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":  unsigned 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/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/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 | cha[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": r 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": 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/brpc/policy/rtmp_protocol.cpp:/src/brpc/src/bvar/detail/percentile.h1531::28918::16 : warning: note: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": 1531 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64":  | 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": 2 warnings generated. 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": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/policy/rtmp_protocol.cpp: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": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 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": 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": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": 3 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/serialized_response.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/server_id.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64":  426 | 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": uns 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": igned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": 4 warnings generated. 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/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(*thisIn file included from )); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/progressive_attachment.cpp/src/brpc/src/bvar/detail/sampler.h: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": :40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 289 | 40 | S a m pmleem(s)e t:( dtahtai()s, ,t im0e_,u s(si0ze)o f{}(* Step #21 - "compile-libfuzzer-address-x86_64":  t| hi ^s Step #21 - "compile-libfuzzer-address-x86_64": ));/src/brpc/src/bvar/detail/sampler.h Step #21 - "compile-libfuzzer-address-x86_64": : 116| :23 ^: Step #21 - "compile-libfuzzer-address-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: 116note: |  in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here  Step #21 - "compile-libfuzzer-address-x86_64": 40S | a m p l eSp ltem(p) :; d Step #21 - "compile-libfuzzer-address-x86_64": a ta| () ^, Step #21 - "compile-libfuzzer-address-x86_64": time_/src/brpc/src/bvar/detail/sampler.hu:s98(:90: ) {note: }in instantiation 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": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h98: | 116 : 23:   note:  in instantiation of member function 'bvar::detail::Sample>::Sample' requested hereta Step #21 - "compile-libfuzzer-address-x86_64": k e_sample();116 Step #21 - "compile-libfuzzer-address-x86_64": | |  ^ Step #21 - "compile-libfuzzer-address-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 529 :S28a:m pnote: lein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here<T Step #21 - "compile-libfuzzer-address-x86_64": > tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": 529 | /src/brpc/src/bvar/detail/sampler.h : 98 : 9 :   note: _in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested heresa Step #21 - "compile-libfuzzer-address-x86_64": m pler = n98e | w  s a m p l etra_ktey_psea(mptlhei(s);); Step #21 - "compile-libfuzzer-address-x86_64":  Step #21 - "compile-libfuzzer-address-x86_64": | | ^ Step #21 - "compile-libfuzzer-address-x86_64": ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sa/src/brpc/src/bvar/detail/percentile.hm:p289l:e16r: = note: neexplicitly cast the pointer to silence this warningw Step #21 - "compile-libfuzzer-address-x86_64": sampler_typ289e | (  t h i s  ) ;me Step #21 - "compile-libfuzzer-address-x86_64": m s| et ^( Step #21 - "compile-libfuzzer-address-x86_64": this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h| :289 ^: Step #21 - "compile-libfuzzer-address-x86_64": 16: |  (void*)note: Step #21 - "compile-libfuzzer-address-x86_64": explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.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": [ 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": 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/span.cpp.o 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": 2 warnings generated. 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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' 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": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :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": :195:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 195 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :191:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 191 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :182:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 182 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :178:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 178 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server_id.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/retry_policy.h:22: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :219:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 219 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :215:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 215 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :194:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 194 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :190:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 190 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/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": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 398 | CallId ids[_nalloc]; Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/selective_channel.cpp:398:20: note: implicit use of 'this' pointer is only allowed within the evaluation of a call to a 'constexpr' member function Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/selective_channel.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/restful.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/server.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :200:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 200 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :196:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 196 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 575 | DEFINE_SMALL_ARRAY(char, cont_buf, buf.size(), 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: initializer of 'cont_buf_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :71:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 71 | cont_buf_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:575:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :67:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 67 | cont_buf_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 677 | DEFINE_SMALL_ARRAY(char, rbsp, sps_length - 1, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: initializer of 'rbsp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :84:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 84 | rbsp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/rtmp.cpp:677:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :80:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 80 | rbsp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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/span.cpp:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 600 | DEFINE_SMALL_ARRAY(butil::IOBuf*, buf_list, s->_options.messages_in_batch, 256); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: initializer of 'buf_list_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :53:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 53 | buf_list_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/brpc/stream.cpp:600:5: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :49:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 49 | buf_list_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/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/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/stream.cpp:19: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/stream.h:24: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #21 - "compile-libfuzzer-address-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #21 - "compile-libfuzzer-address-x86_64": 40 | Sample() : data(), time_us(0) {} Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | Sample tmp; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 98 | take_sample(); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 529 | _sampler = new sampler_type(this); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #21 - "compile-libfuzzer-address-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64":  |  (void*) Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :185:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 185 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": :181:1: note: expanded from here Step #21 - "compile-libfuzzer-address-x86_64": 181 | tmp_stack_array_size Step #21 - "compile-libfuzzer-address-x86_64": | ^ Step #21 - "compile-libfuzzer-address-x86_64": 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/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #21 - "compile-libfuzzer-address-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 499 | b1.merge(b2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 53 | _var->op()(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #21 - "compile-libfuzzer-address-x86_64": 29 | return op(v1, v2); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #21 - "compile-libfuzzer-address-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #21 - "compile-libfuzzer-address-x86_64": 116 | return append_second(value, _op); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #21 - "compile-libfuzzer-address-x86_64": 65 | _series.append(_owner->get_value(1)); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #21 - "compile-libfuzzer-address-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #21 - "compile-libfuzzer-address-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #21 - "compile-libfuzzer-address-x86_64": 49 | class LatencyRecorderBase { Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #21 - "compile-libfuzzer-address-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #21 - "compile-libfuzzer-address-x86_64": |  ^ Step #21 - "compile-libfuzzer-address-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #21 - "compile-libfuzzer-address-x86_64": 426 | 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": :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": :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": 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": 2 warnings generated. 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/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": :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": :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": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 3 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 7 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": 4 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/tmpuf4lupnl/fuzz_json Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_shead Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_butil Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_esp Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_redis Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_hpack Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_http Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_hulu Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/fuzz_uri Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpuf4lupnl/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 762 --:--:-- --:--:-- --:--:-- 761 100 147 0 0 100 147 0 761 --:--:-- --:--:-- --:--:-- 761 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 27 207M 0 0 27 56.7M 0 188M 0:00:01 --:--:-- 0:00:01 187M 100 207M 0 0 100 207M 0 202M 0:00:01 0:00:01 --:--:-- 202M 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 391 --:--:-- --:--:-- --:--:-- 392 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 147 --:--:-- --:--:-- --:--:-- 147 Finished Step #28 Starting Step #29 Step #29: Already have image: gcr.io/oss-fuzz/brpc Finished Step #29 Starting Step #30 - "compile-libfuzzer-undefined-x86_64" Step #30 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #30 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #30 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #30 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function Step #30 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ Step #30 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": + '[' undefined = undefined ']' Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/static void DoProfiling/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/hotspots_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/void PProfService::heap/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/pprof_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + sed -i '/void PProfService::growth/i __attribute__((no_sanitize("undefined")))' src/brpc/builtin/pprof_service.cpp Step #30 - "compile-libfuzzer-undefined-x86_64": + mkdir -p build Step #30 - "compile-libfuzzer-undefined-x86_64": + cd build Step #30 - "compile-libfuzzer-undefined-x86_64": + cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ '-DCMAKE_C_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_CXX_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_CPP_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' '-DCMAKE_EXE_LINKER_FLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=unknown-warning-option -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function' -DLIB_FUZZING_ENGINE=-fsanitize=fuzzer -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DWITH_SNAPPY=ON -DBUILD_UNIT_TESTS=ON -DBUILD_FUZZ_TESTS=ON ../. Step #30 - "compile-libfuzzer-undefined-x86_64": CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Step #30 - "compile-libfuzzer-undefined-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #30 - "compile-libfuzzer-undefined-x86_64": CMake. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #30 - "compile-libfuzzer-undefined-x86_64": CMake that the project does not need compatibility with older versions. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": -- The C compiler identification is Clang 22.0.0 Step #30 - "compile-libfuzzer-undefined-x86_64": -- The CXX compiler identification is Clang 22.0.0 Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compiler ABI info Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compiler ABI info - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compile features Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting C compile features - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features Step #30 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features - done Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found gflags: /usr/lib/x86_64-linux-gnu/libgflags.so Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so (found version "3.6.1") Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Threads: TRUE Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1f") Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Gperftools: /usr/lib/x86_64-linux-gnu/libtcmalloc_and_profiler.so Step #30 - "compile-libfuzzer-undefined-x86_64": CMake Deprecation Warning at CMakeLists.txt:16 (cmake_minimum_required): Step #30 - "compile-libfuzzer-undefined-x86_64": Compatibility with CMake < 3.5 will be removed from a future version of Step #30 - "compile-libfuzzer-undefined-x86_64": CMake. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #30 - "compile-libfuzzer-undefined-x86_64": CMake that the project does not need compatibility with older versions. Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": -- Configuring done (0.0s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Generating done (0.0s) Step #30 - "compile-libfuzzer-undefined-x86_64": -- Build files have been written to: /src/brpc/build/googletest-download Step #30 - "compile-libfuzzer-undefined-x86_64": [ 11%] Creating directories for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 22%] Performing download step (git clone) for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": Cloning into 'googletest-src'... Step #30 - "compile-libfuzzer-undefined-x86_64": HEAD is now at 15460959 Update versions of WORKSPACE dependencies Step #30 - "compile-libfuzzer-undefined-x86_64": [ 33%] Performing update step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 44%] No patch step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 55%] No configure step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 66%] No build step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 77%] No install step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [ 88%] No test step for 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Completed 'googletest' Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target googletest Step #30 - "compile-libfuzzer-undefined-x86_64": -- Found Python: /usr/local/bin/python3.11 (found version "3.11.13") found components: Interpreter Step #30 - "compile-libfuzzer-undefined-x86_64": -- Configuring done (2.7s) 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 idl_options.pb.h, idl_options.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/errno.pb.h, brpc/errno.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating brpc/builtin_service.pb.h, brpc/builtin_service.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating 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/get_js.pb.h, brpc/get_js.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/grpc_health_check.pb.h, brpc/grpc_health_check.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 0%] Generating addressbook1.pb.h, addressbook1.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 addressbook_map.pb.h, addressbook_map.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/options.pb.h, brpc/options.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating brpc/policy/baidu_rpc_meta.pb.h, brpc/policy/baidu_rpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating echo.pb.h, echo.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating grpc.pb.h, grpc.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating health_check.pb.h, health_check.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 2%] Generating 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 repeated.pb.h, repeated.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": [ 5%] Generating snappy_message.pb.h, snappy_message.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating v1.pb.h, v1.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating 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 v2.pb.h, v2.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%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/g_fmt.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/dmg_fp/dtoa_wrapper.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/rpc_dump.pb.h, brpc/rpc_dump.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%] 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%] Generating brpc/span.pb.h, brpc/span.pb.cc 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%] Generating brpc/streaming_rpc_meta.pb.h, brpc/streaming_rpc_meta.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Generating brpc/trackme.pb.h, brpc/trackme.pb.cc Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/third_party/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": [ 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": [ 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/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/at_exit.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/base64url.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 8%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/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/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/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/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/stack_trace_posix.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/debugger.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": [ 13%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook1.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/idl_options.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_enumerator_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/file_path_constants.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/rtmp.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_encode_decode.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/memory_mapped_file_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook_map.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_file.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 16%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/files/scoped_temp_dir.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/file_util_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/guid_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/hash.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/lazy_instance.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/location.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/aligned_memory.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 18%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/memory/ref_counted.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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_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_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_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 CMakeFiles/PROTO_LIB.dir/brpc/rpc_dump.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/synchronization/condition_variable_posix.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 27%] Building CXX object test/CMakeFiles/BUTIL_DEBUG_LIB.dir/__/src/butil/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/get_favicon.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/span.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/builtin_service.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/grpc_health_check.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/get_js.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/errno.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 40%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/nshead_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/options.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/baidu_rpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/hulu_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/public_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/sofa_pbrpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/policy/mongo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/trackme.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/streaming_rpc_meta.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object CMakeFiles/PROTO_LIB.dir/brpc/proto_base.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 43%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/addressbook.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/echo.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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/iobuf.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/repeated.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/snappy_message.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": /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/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": [ 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 test/CMakeFiles/TEST_PROTO_LIB.dir/grpc.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 45%] Building CXX object test/CMakeFiles/TEST_PROTO_LIB.dir/health_check.pb.cc.o Step #30 - "compile-libfuzzer-undefined-x86_64": 1 warning generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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/detail/percentile.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/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/mvariable.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/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/condition_variable.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/context.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/countdown_event.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/errno.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 51%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/bthread/fd.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/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/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/rwlock.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/json2pb/encode_decode.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": [ 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/countdown_event.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/countdown_event.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/semaphore.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_saIn file included from /src/brpc/src/bthread/rwlock.cpp:19m: Step #30 - "compile-libfuzzer-undefined-x86_64": pIn file included from /src/brpc/src/bthread/rwlock.h:le22: Step #30 - "compile-libfuzzer-undefined-x86_64": ();In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | 289 | memset( _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": t|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": his, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^/src/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":  289 | /src/brpc/src/bvar/detail/sampler.h:40 memset(:this, 0, 16sizeof(*this)): 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": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Sam |  (void*) 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": 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/percentile.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/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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": :29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": /src/brpc/src/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": :166 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_1pt:r cb(new CombinedPercent 166 | tmp_stileSamples); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ack_ar/src/brpc/src/bvar/detail/percentile.h:r289ay_size: Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: 289 | 132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (n memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": ame#/src/brpc/src/bvar/detail/percentile.h:132:13: #_size <= warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": (max 132 | size) ? n a m e ## _si z e :  0)D;E F\ Step #30 - "compile-libfuzzer-undefined-x86_64": I N| E ^_S Step #30 - "compile-libfuzzer-undefined-x86_64": M:162:1: note: expanded from hereALL_ARRAY(uint32_t, tmp, r Step #30 - "compile-libfuzzer-undefined-x86_64": hs._n um_s162a | tmmpp_lestsac,k _a6r4ra)y;_s Step #30 - "compile-libfuzzer-undefined-x86_64": i| 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/butil/macros.hIn file included from /src/brpc/src/bthread/timer_thread.cpp:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": :426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 426 | char name##_s memset(this, 0, sizeof(*thtis)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ack_array[/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heresizeof(T Step #30 - "compile-libfuzzer-undefined-x86_64": p) * name##_stack_a 40 | rray_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": 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() Sample() :: ddaattaa(), (time)_,u st(im0e_)u s{(}0 Step #30 - "compile-libfuzzer-undefined-x86_64":  )| { ^} Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: /src/brpc/src/bvar/detail/sampler.h:note: 116:in instantiation of member function 'bvar::detail::Sample>::Sample' requested here23: Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | 116 | S a m p l e < T > t m pS;am Step #30 - "compile-libfuzzer-undefined-x86_64": p l| e< ^T Step #30 - "compile-libfuzzer-undefined-x86_64": > tmp/src/brpc/src/bvar/detail/sampler.h;:98 Step #30 - "compile-libfuzzer-undefined-x86_64": : 9| : ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h: 9898: | 9 :   note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here t Step #30 - "compile-libfuzzer-undefined-x86_64": ake_sam p98l | e ( ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": | t ^a Step #30 - "compile-libfuzzer-undefined-x86_64": ke_sa/src/brpc/src/bvar/detail/percentile.hm:p529l:e28(:) ; Step #30 - "compile-libfuzzer-undefined-x86_64": note: | in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | 529 | _ s a m p_lsearm p=l ern e=w  nseawmp lsearm_ptlyepre_(tytphei(st)h;is 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:289:16: note: /src/brpc/src/bvar/detail/percentile.hexplicitly cast the pointer to silence this warning:289 Step #30 - "compile-libfuzzer-undefined-x86_64": :16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 289 | m e mmseemts(ett(hitshi,s ,0 ,0 ,s izseiozfeo(f*(t*hitshi)s);)) Step #30 - "compile-libfuzzer-undefined-x86_64": ; | Step #30 - "compile-libfuzzer-undefined-x86_64":  ^| Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |  (void*)| Step #30 - "compile-libfuzzer-undefined-x86_64":  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/execution_queue.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/execution_queue.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/amf.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, tmIn file included from p/src/brpc/src/bthread/bthread.cpp,: 28_: Step #30 - "compile-libfuzzer-undefined-x86_64": dIn file included from a/src/brpc/src/bthread/task_group.ht:a26.: Step #30 - "compile-libfuzzer-undefined-x86_64": sIn file included from e/src/brpc/src/bthread/task_control.hc:o34n: Step #30 - "compile-libfuzzer-undefined-x86_64": dIn file included from (/src/brpc/src/bvar/bvar.hi:)27): Step #30 - "compile-libfuzzer-undefined-x86_64": ;In file included from /src/brpc/src/bvar/latency_recorder.h Step #30 - "compile-libfuzzer-undefined-x86_64": : 26| : Step #30 - "compile-libfuzzer-undefined-x86_64":  ^/src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": :289:16/src/brpc/src/bvar/detail/series.h:: 116:16warning: : first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]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 | 289r | e t u r n  a pmpeemnsde_ts(ectohnids(v,a lu0e,, _ospi)z;eo Step #30 - "compile-libfuzzer-undefined-x86_64": f | (* ^ Step #30 - "compile-libfuzzer-undefined-x86_64": this))/src/brpc/src/bvar/window.h;:65 Step #30 - "compile-libfuzzer-undefined-x86_64": : 25| : ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here/src/brpc/src/bvar/detail/sampler.h Step #30 - "compile-libfuzzer-undefined-x86_64": :40:16: note: 65in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here |  Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | S a m_psleer(i)e s:. adpaptean(d)(,_ otwinmeer_-u>sg(et0_v)a l{u}e( Step #30 - "compile-libfuzzer-undefined-x86_64":  1| ) ^) Step #30 - "compile-libfuzzer-undefined-x86_64": ; Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/bvar/detail/sampler.h: ^116 Step #30 - "compile-libfuzzer-undefined-x86_64": :23:/src/brpc/src/bvar/window.h :58:note: 9:in instantiation of member function 'bvar::detail::Sample>::Sample' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here116 | Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SSearmipelseSp ltemrp(;Wi Step #30 - "compile-libfuzzer-undefined-x86_64": n d| ow ^B Step #30 - "compile-libfuzzer-undefined-x86_64": ase* ow/src/brpc/src/bvar/detail/sampler.hn:e98r:,9 :R * vnote: arin instantiation 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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/window.h98: | 151 : 35 :   note: tin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereak Step #30 - "compile-libfuzzer-undefined-x86_64": e_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": | 151 ^ | Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 529 : 28_:s erinote: esin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here_s Step #30 - "compile-libfuzzer-undefined-x86_64": ampler = ne w529 | S e r i esSa mpler(  t h i s _,s a_mvpalre)r; = Step #30 - "compile-libfuzzer-undefined-x86_64": | ne ^w Step #30 - "compile-libfuzzer-undefined-x86_64":  s/src/brpc/src/bvar/latency_recorder.ha:m49p:l7e:r _tynote: pein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here( Step #30 - "compile-libfuzzer-undefined-x86_64": this 49) | ;c Step #30 - "compile-libfuzzer-undefined-x86_64": l a| ss ^ Step #30 - "compile-libfuzzer-undefined-x86_64": LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression/src/brpc/src/bvar/detail/percentile.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 289:16:  132note: |  explicitly cast the pointer to silence this warning  Step #30 - "compile-libfuzzer-undefined-x86_64": DEFI N289E | _ S M A L L _ A RmReAmYs(euti(ntt3h2i_st,, tm0p,, rhssi.z_enoufm_(s*amtphliess,) )64); Step #30 - "compile-libfuzzer-undefined-x86_64": ;|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h: 426| :42 (void*): Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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": In file included from /src/brpc/src/bthread/fd.cpp:36: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_group.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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 = /src/brpc/src/bvar/detail/percentile.h:132:13: (nwarning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": am 132 | DEFINE_SMALL_ARRAYe#(u#_size <= (maxsize) ? name##_sizeint32_t : 0), tm; p\ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , rhs.:157:1_num_:samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": | note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 157 | tm Step #30 - "compile-libfuzzer-undefined-x86_64": p_/src/brpc/src/butil/macros.hs:t426a:c29:k _arnote: raexpanded from macro 'DEFINE_SMALL_ARRAY'y_s Step #30 - "compile-libfuzzer-undefined-x86_64": i ze Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested 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": In file included from /src/brpc/src/bthread/butex.cpp:35: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/task_control.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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/detail/percentile.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 | 2 warnings generated . Step #30 - "compile-libfuzzer-undefined-x86_64": _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/bthreads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/bthread/task_control.cpp:600:5: warning: /src/brpc/src/bvar/window.hvariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]:65 Step #30 - "compile-libfuzzer-undefined-x86_64": :25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 60065 | | D E F I N E _ S M A L L __AsReRrAiYe(s.ianptpe, nums, ngroup, 128);n Step #30 - "compile-libfuzzer-undefined-x86_64": d (| _o ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~w Step #30 - "compile-libfuzzer-undefined-x86_64": ner->get_value/src/brpc/src/butil/macros.h(:4261:29):) ; Step #30 - "compile-libfuzzer-undefined-x86_64": note: | expanded from macro 'DEFINE_SMALL_ARRAY' ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/window.h426: | 58 : 9 : chnote: arin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp:600:5: note: initializer of 'nums_stack_array_size' is not a constant expression  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :111:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 111 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bthread/task_control.cpp: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": :107:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 107 | nums_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.a58 | SeriesSampler(ppWindowBase*en owner, R* d(var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^_o Step #30 - "compile-libfuzzer-undefined-x86_64": wn/src/brpc/src/bvar/window.h:151:35: ernote: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ->g 151 | et_ v _series_sampler a= new SeriluesSampler(e(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 1/src/brpc/src/bvar/latency_recorder.h:49: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": | 49 | class Late ^ncyRecorderBas 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/window.h/src/brpc/src/bvar/detail/percentile.h:132:13: note: :58initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": :9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here 132 | D Step #30 - "compile-libfuzzer-undefined-x86_64": EFINE_SMALL_ARRAY(uint32_ 58 | t, tmp, rh s._num_samp l es, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": SeriesSampl 426 | char ername##_stack(W_array[insizeof(Tp)do * name##wB_stack_aarray_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": se:161:1: note: * expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": owne 161 | tmp_stack_ar,rray_size Step #30 - "compile-libfuzzer-undefined-x86_64": |  R^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13:* note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": v/src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY'a Step #30 - "compile-libfuzzer-undefined-x86_64": r) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h 425 | const :151unsigned:35 name##_stack:_array_size = ( name##_size <note: = (maxsiin instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereze) ? name##_ Step #30 - "compile-libfuzzer-undefined-x86_64": size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1 :151 note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": | 157 | tmp_sta ck_array_siz e Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :164:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 164 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :170:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 170 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | [ 59%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSample/src/brpc/src/bvar/detail/percentile.hr:(132W:i13n:d owBwarning: asevariable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]* Step #30 - "compile-libfuzzer-undefined-x86_64": owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": 132| |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/window.h : 151 : 35D:E FINnote: E_in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested hereSM Step #30 - "compile-libfuzzer-undefined-x86_64": ALL_ARRAY(uint3 2151_ | t , t m p , r h s . __nsuemr_iseasm_pslaemsp,l er6 4= );ne Step #30 - "compile-libfuzzer-undefined-x86_64": w | S ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e Step #30 - "compile-libfuzzer-undefined-x86_64": ries/src/brpc/src/butil/macros.hS:a426m:p29l:e r(note: thexpanded from macro 'DEFINE_SMALL_ARRAY'is Step #30 - "compile-libfuzzer-undefined-x86_64": , _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note:  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here426 | Step #30 - "compile-libfuzzer-undefined-x86_64":  c49h | arcl ansasme #L#a_tsetnaccykR_eacrorradye[rBsaiszee o{f Step #30 - "compile-libfuzzer-undefined-x86_64": ( T| p) ^ Step #30 - "compile-libfuzzer-undefined-x86_64": * name/src/brpc/src/bvar/detail/percentile.h#:#132_:s13t:a ck_note: arinitializer of 'tmp_stack_array_size' is not a constant expressionra Step #30 - "compile-libfuzzer-undefined-x86_64": y_s i132z | e ] ; \  Step #30 - "compile-libfuzzer-undefined-x86_64": D| EF ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~I Step #30 - "compile-libfuzzer-undefined-x86_64": NE_SMA/src/brpc/src/bvar/detail/percentile.hL:L364_:A36R:R AY(note: uiin instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested herent Step #30 - "compile-libfuzzer-undefined-x86_64": 32_t, tmp, rhs._n u364m | _ s a m p l e s,  6 4  ) ; g Step #30 - "compile-libfuzzer-undefined-x86_64": e t| _i ^n Step #30 - "compile-libfuzzer-undefined-x86_64": terval_/src/brpc/src/butil/macros.ha:t426(:i42):. mernote: geexpanded from macro 'DEFINE_SMALL_ARRAY'(* Step #30 - "compile-libfuzzer-undefined-x86_64": rhs._inte r426v | a l s [ i]c)h;ar Step #30 - "compile-libfuzzer-undefined-x86_64":  | na ^m Step #30 - "compile-libfuzzer-undefined-x86_64": e##_/src/brpc/src/bvar/detail/percentile.hs:t499a:c12k:_ arrnote: ayin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here[ Step #30 - "compile-libfuzzer-undefined-x86_64": sizeof( T499p | ) * n a mIn file included from e/src/brpc/src/bthread/mutex.cpp #:b#271_[ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/common.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": : Step #30 - "compile-libfuzzer-undefined-x86_64": .sIn file included from mt/src/brpc/src/bvar/bvar.hea:rc27gk: Step #30 - "compile-libfuzzer-undefined-x86_64": e_In file included from (a/src/brpc/src/bvar/latency_recorder.hbr:2r26)a: Step #30 - "compile-libfuzzer-undefined-x86_64": ;y_/src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": s: i289| :z16e]; ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :  \/src/brpc/src/bvar/window.hwarning: : Step #30 - "compile-libfuzzer-undefined-x86_64": 53 :| first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]17: ^ 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": 164:1:  53note: |  289expanded from here |  Step #30 - "compile-libfuzzer-undefined-x86_64": 164 | mt em mp s_ es tt_(avcatkrh_-ia>rsorpa,(y )_(s0vi1z,,e v Step #30 - "compile-libfuzzer-undefined-x86_64": s2 i)| z;e^o Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": f | (*/src/brpc/src/bvar/detail/percentile.h ^: Step #30 - "compile-libfuzzer-undefined-x86_64": t132h:i13s:/src/brpc/src/bvar/detail/call_op_returning_void.h ):)29;:note: 12 Step #30 - "compile-libfuzzer-undefined-x86_64": :declared here |  Step #30 - "compile-libfuzzer-undefined-x86_64":  ^note: /src/brpc/src/butil/macros.h Step #30 - "compile-libfuzzer-undefined-x86_64": :in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here425: Step #30 - "compile-libfuzzer-undefined-x86_64": 20: /src/brpc/src/bvar/detail/sampler.h 29: | 40 :note: 16 :expanded from macro 'DEFINE_SMALL_ARRAY'  Step #30 - "compile-libfuzzer-undefined-x86_64": renote: t uin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here425r | n Step #30 - "compile-libfuzzer-undefined-x86_64":  o p40( | cv o1 n, s tvS2a )m;puln Step #30 - "compile-libfuzzer-undefined-x86_64": es (i| )g n ^:e Step #30 - "compile-libfuzzer-undefined-x86_64": dda tna/src/brpc/src/bvar/detail/series.ha(:m)168e,:# 13#t:_i smtea_note: cuksin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here_(a Step #30 - "compile-libfuzzer-undefined-x86_64": r0ra)y _{s} i168z Step #30 - "compile-libfuzzer-undefined-x86_64": | e | = ^ ( Step #30 - "compile-libfuzzer-undefined-x86_64": n a m e/src/brpc/src/bvar/detail/sampler.h #: #116 _: s23ci:a lzlenote: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here_ o< Step #30 - "compile-libfuzzer-undefined-x86_64": p=_ r(emtau xr116sn | ii zn eg )_ v ?o i nd a( mo ep #, # S_tasmmippz,le e _<:dT a>t 0at.m)sp;e; c\o Step #30 - "compile-libfuzzer-undefined-x86_64": n Step #30 - "compile-libfuzzer-undefined-x86_64": d| (| i ^) 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 :| :98160: ^:9 Step #30 - "compile-libfuzzer-undefined-x86_64": 1:: /src/brpc/src/bvar/detail/series.hnote: :note: 116in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here:expanded from here16 Step #30 - "compile-libfuzzer-undefined-x86_64": : Step #30 - "compile-libfuzzer-undefined-x86_64": note:  in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here98 | Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | t m p 116_ | s t at ca kk _e a_ rs raamreypt_le()us;rinz Step #30 - "compile-libfuzzer-undefined-x86_64": e | a Step #30 - "compile-libfuzzer-undefined-x86_64": p ^p| Step #30 - "compile-libfuzzer-undefined-x86_64": en^d Step #30 - "compile-libfuzzer-undefined-x86_64": _s/src/brpc/src/bvar/detail/percentile.he:c529o:n28d:( valnote: uein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here, Step #30 - "compile-libfuzzer-undefined-x86_64": _op) ;529 | Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/window.h :_65s:a25m:p lernote: =in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": new sampl e65r | _ t y p e (  t h i s  ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": _| se ^r Step #30 - "compile-libfuzzer-undefined-x86_64": ies.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: /src/brpc/src/bvar/detail/percentile.h:289note: :16in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here: Step #30 - "compile-libfuzzer-undefined-x86_64": note: 58 | explicitly cast the pointer to silence this warning  Step #30 - "compile-libfuzzer-undefined-x86_64": SeriesSampler(WindowBas e289* | o w n e r , Rm*e mvsaert)( Step #30 - "compile-libfuzzer-undefined-x86_64": t h| is ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , 0/src/brpc/src/bvar/window.h,: 151:s35i:z eofnote: (in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here* Step #30 - "compile-libfuzzer-undefined-x86_64": this) )151; |  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/connections_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": 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:191289 | :t16mp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": : warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 59%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/dir_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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: /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]note:  Step #30 - "compile-libfuzzer-undefined-x86_64": initializer of 'cur_batch' is not a constant expression 132 | Step #30 - "compile-libfuzzer-undefined-x86_64": DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) 317* name##_stack_arra | y_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": | Fi ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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 | xe get_interval_atd(i)HeadAndValue. tmerge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": mp[cur_/src/brpc/src/bvar/detail/percentile.h:499:12: bnote: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": atch]; Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b|  ^ 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:1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": mi n53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": (/src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": n, BA 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": TCH/src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ) 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58; Step #30 - "compile-libfuzzer-undefined-x86_64": :9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": | 58 |  SeriesSamp ^le Step #30 - "compile-libfuzzer-undefined-x86_64": r(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/mcpack2pb/serializer.cpp:317: ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 38: warning: /src/brpc/src/bvar/detail/percentile.h:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132: 317 | 13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | FixedHeadA n dVDEFINE_SMALL_ARRAY(ualuint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": e tmp 426[ | char name##_scur_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.cpptack_array[sizeof(Tp) * name##_stack_arra:y_317s:i38z:e ]; note:  initializer of 'cur_batch' 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": :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 | 317 | const unsigned name##_stack_array_size = (name##_size <= ( m axsi z e ) ? 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":  FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:389:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 389 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:391:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 391 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:393:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 393 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:395:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 395 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:397:3: note: in instantiation of function template specialization 'mcpack2pb::add_primitives' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 397 | { add_primitives(_stream, peek_group_info(), values, count); } Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:317:38: note: initializer of 'cur_batch' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 317 | FixedHeadAndValue tmp[cur_batch]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/mcpack2pb/serializer.cpp:316:26: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 316 | const size_t cur_batch = std::min(n, BATCH); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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/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": [ 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :170:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 170 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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[3s warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": izeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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:[ 62%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/ids_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned 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": [ 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: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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/memory_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/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": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/pprof_perl.cpp.o 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": /src/brpc/src/bvar/detail/percentile.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/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": [ 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": /src/brpc/src/bvar/detail/percentile.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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/rpcz_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/protobufs_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": 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/percentile.h:132/src/brpc/src/bvar/detail/sampler.h::1340:: 16: warning: note: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]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 | Sample() : 132d | a t a ( ) , t i m e _ uDsE(FI0NE)_ {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": SMAL/src/brpc/src/bvar/detail/sampler.hL:_116A:R23R:A Y(note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": uint32 _t,116 | tmp, rhs._num_ sa Samplmplee tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation 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, 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  529 | 64 _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": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29/src/brpc/src/bvar/detail/percentile.h:289:16: : note: expanded from macro 'DEFINE_SMALL_ARRAY'note: Step #30 - "compile-libfuzzer-undefined-x86_64": explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 426 | cha r name##_stack_amremsetray[sizeof(Tp) * name##_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": (thi364 | get_interval_at(i).merges, 0(*r, sizeof(*thishs._interval)); Step #30 - "compile-libfuzzer-undefined-x86_64": | s[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/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/dir_service.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 64%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/threads_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/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 |  /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | _series_sampler = new SeriesSampler(this DEF, _INE_SMvAar); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": LL_AR/src/brpc/src/bvar/latency_recorder.hRAY(ui:n49:t7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 3/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 2_t, t 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": m/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": p, 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": h:219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": s. 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": _nu 425 | const unm_sasigned nammples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": e##_stack_array_size = (name##_s/src/brpc/src/butil/macros.h:426:29:ize <= (maxs note: ize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": expanded from macro 'DEFINE_SMALL_ARRAY': Step #30 - "compile-libfuzzer-undefined-x86_64": 215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char215 | tnmapm_es#t#a_cskt_aacrkr_aayr_rsaiyz[es Step #30 - "compile-libfuzzer-undefined-x86_64": i z| eo^f Step #30 - "compile-libfuzzer-undefined-x86_64": (In file included from /src/brpc/src/brpc/builtin/bad_method_service.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": T 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": p/src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ) 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": * n 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": | ame##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :199:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 199 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :195:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 195 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/version_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | In file included from /src/brpc/src/brpc/builtin/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 | D E F I N E _ S MmAeLmLs_eAtR(RAthis, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Y/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ( 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": u 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:i28: note: in instantiation of member 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": nt32_t/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": , tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/grpc_health_check_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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:2 warnings generated. 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: 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: 132 | DEFINE_SMALL_ARRAY132:(u13: inote: ndeclared here Step #30 - "compile-libfuzzer-undefined-x86_64": t32_t, tmp, rhs./src/brpc/src/butil/macros.h_:425:20num_samp: note: leexpanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": s , 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: 425 | note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64":  426 | char name##_stack_array[sizeof(Tp) * name##_stacconstk unsi_arrgay_size]; ned nam\ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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_ate(i)##_sta.ck_armerge(*rhsray_size = (name##_size ._interval: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": 499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 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)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/builtin/vlog_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/channel.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/checksum.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/circuit_breaker.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/health_service.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/cluster_recover_policy.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 67%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/controller.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/has_epollrdhup.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here 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": 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": 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":  _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriIn file included from e/src/brpc/src/brpc/builtin/hotspots_service.cpps:S28a: Step #30 - "compile-libfuzzer-undefined-x86_64": mIn file included from p/src/brpc/src/brpc/controller.hl:e37r: Step #30 - "compile-libfuzzer-undefined-x86_64": (In file included from W/src/brpc/src/brpc/socket_id.hi:n25d: Step #30 - "compile-libfuzzer-undefined-x86_64": oIn file included from w/src/brpc/src/brpc/versioned_ref_with_id.hB:a26s: Step #30 - "compile-libfuzzer-undefined-x86_64": eIn file included from */src/brpc/src/bthread/bthread.h :o32w: Step #30 - "compile-libfuzzer-undefined-x86_64": nIn file included from e/src/brpc/src/bthread/mutex.hr:,27 : Step #30 - "compile-libfuzzer-undefined-x86_64": RIn file included from */src/brpc/src/bvar/utils/lock_timer.h :v28a: Step #30 - "compile-libfuzzer-undefined-x86_64": rIn file included from )/src/brpc/src/bvar/latency_recorder.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 26 : Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/bvar/detail/percentile.h ^: Step #30 - "compile-libfuzzer-undefined-x86_64": 289:16: /src/brpc/src/bvar/window.h:151warning: :35:first argument in 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::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | 289 | _ser i emse_mssaemtp(letrh i=s ,n ew0 ,S ersiiezseSoafmp(l*ert(hitshi)s);, Step #30 - "compile-libfuzzer-undefined-x86_64": _ v| ar ^) Step #30 - "compile-libfuzzer-undefined-x86_64": ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:/src/brpc/src/bvar/latency_recorder.h40::4916::7 : note: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested herein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | 40c | l a s s S aLmaptleen(c)y R:e cdoartdae(r)B,a stei m{e_ Step #30 - "compile-libfuzzer-undefined-x86_64": u s| ( ^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: :116initializer of 'tmp_stack_array_size' is not a constant expression:23 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 132116 | | DSEaFmIpNlEe_A LtLm_pA;RR Step #30 - "compile-libfuzzer-undefined-x86_64": A Y| (u ^i Step #30 - "compile-libfuzzer-undefined-x86_64": nt32_t, tmp, rhs._num_samples, 64/src/brpc/src/bvar/detail/sampler.h:)98;:9 Step #30 - "compile-libfuzzer-undefined-x86_64": : |  ^note: Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note:  expanded from macro 'DEFINE_SMALL_ARRAY'98 | Step #30 - "compile-libfuzzer-undefined-x86_64": take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char 529n | a m e # # _ s t a c _samkp_laerrr a=y [nseiwz sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": eof(Tp) * n/src/brpc/src/bvar/detail/percentile.h:289:a16m:e ##_stanote: explicitly cast the pointer to silence this warningck Step #30 - "compile-libfuzzer-undefined-x86_64": _array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  mems:e219t:(1:t hisnote: ,expanded from here  Step #30 - "compile-libfuzzer-undefined-x86_64": 0, sizeof(*this )219) | ;tm Step #30 - "compile-libfuzzer-undefined-x86_64": p _| st ^a Step #30 - "compile-libfuzzer-undefined-x86_64": ck _| ar (void*)r Step #30 - "compile-libfuzzer-undefined-x86_64": ay_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/health_check.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/hpack.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/http_message.cpp.o 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": /src/brpc/src/bvar/detail/percentile.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": In file included from /src/brpc/src/brpc/builtin/memory_service.cpp/src/brpc/src/bvar/window.h::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": 65 289 | :25: note:  min instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ems 65 | et (  this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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":  _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/load_balancer_with_naming.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/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/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 70%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/method_status.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 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": In file included from /src/brpc/src/brpc/builtin/pprof_service.cpp:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :250:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 250 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :246:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 246 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/details/ssl_helper.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/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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/esp_message.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/prometheus_metrics_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/event_dispatcher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/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": In file included from 289 | memset(this, 0, /src/brpc/src/brpc/builtin/sockets_service.cpps:21iz: 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": eof(*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 | _sampler = new 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": In file included from /src/brpc/src/brpc/builtin/threads_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. 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": [ 72%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http2.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :229:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 229 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :225:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 225 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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": [ 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: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/details/http_message.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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": /src/brpc/src/bvar/detail/percentile.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._nIn 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": um_ s289a | m p l e memset(this, 0, sizeosf, (*6this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 4); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^/src/brpc/src/bvar/detail/sampler.h:40: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": /src/brpc/src/butil/macros.h: 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | 426 take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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": :42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :160:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 160 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :156:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 156 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /src/brpc/src/bvar/detail/percentile.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[ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_method.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": _size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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 appe2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": nd_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/http_status_code.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/builtin/vlog_service.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | In file included from /src/brpc/src/brpc/compress.cpp 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/brpc/protocol.h:32/src/brpc/src/bvar/detail/sampler.h:98:9: : 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.hnote: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here 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:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289: 98 | 16 take_sa: mple(); 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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :28: /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here 40 | Sample() : data(), time_us(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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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": 529 | /src/brpc/src/bvar/detail/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":  _sampler = new 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 132 | DEFINE_SMALL_ARRAY(uint32_t memset(,th tmp,is rhs._num_samples, 6, 0, 4); Step #30 - "compile-libfuzzer-undefined-x86_64": siz|  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29e: of(*thnote: is)expanded from macro 'DEFINE_SMALL_ARRAY'); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  426 | char name##_stack_array[sizIn file included from eof(Tp)/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": nIn file included from /src/brpc/src/brpc/controller.ha:37: Step #30 - "compile-libfuzzer-undefined-x86_64": mIn 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:e##_stack_a27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from rr/src/brpc/src/bvar/utils/lock_timer.hay_size]:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: ;warning: first argument in 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": /src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": :364: 289 | memset(this36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": , 0, sizeof(* th364 | is) );  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sampl e() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": get 116 | _inteSample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": r/src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": v98 | a take_sampll_e(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^a Step #30 - "compile-libfuzzer-undefined-x86_64": t(i).m/src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": erge(*rhs._in 529 | te _sampler = new sampler_type(this);rv Step #30 - "compile-libfuzzer-undefined-x86_64": | als[ ^ Step #30 - "compile-libfuzzer-undefined-x86_64": i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499/src/brpc/src/bvar/detail/percentile.h:289:16:12: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": : note:  in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here289 Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | | b1.mergmemset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) 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 here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :229:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 229 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :225:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 225 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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: /src/brpc/src/bvar/detail/percentile.hin instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here: Step #30 - "compile-libfuzzer-undefined-x86_64": 132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | 49 | class Lat encyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132 : 13 :D EFnote: INinitializer of 'tmp_stack_array_size' is not a constant expressionE Step #30 - "compile-libfuzzer-undefined-x86_64": _SMALL_ARRAY(uint32_t, tmp, rhs._num_samp 132l | es,  6 4  ) ;  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64":  DE/src/brpc/src/butil/macros.hF:I426:N29:E _SMALL_Anote: expanded from macro 'DEFINE_SMALL_ARRAY'R Step #30 - "compile-libfuzzer-undefined-x86_64": RAY(uint3 2_t426, | t m p , rhs._cnuhma_samrpl naes, 64);me##_s Step #30 - "compile-libfuzzer-undefined-x86_64": | ta ^ck Step #30 - "compile-libfuzzer-undefined-x86_64": _array/src/brpc/src/butil/macros.h[:sizeof(T426p) :*42 :name note: expanded from macro 'DEFINE_SMALL_ARRAY'# Step #30 - "compile-libfuzzer-undefined-x86_64": #_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364 426 | 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": :36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.cpp:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/usercode_backup_pool.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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:16: warning: first argument in 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/memcache.cpp.o 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": 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": 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": [ 75%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/nshead_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": 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": 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": /src/brpc/src/bvar/detail/percentile.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": [ 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": /src/brpc/src/bvar/detail/percentile.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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/periodic_task.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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": [ 78%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/baidu_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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: 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": declared here 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":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:/src/brpc/src/bvar/detail/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": 425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned 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": In file included from /src/brpc/src/brpc/controller.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: [ 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": first argument in 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/event_dispatcher.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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(_ow2n warningesr generated-. Step #30 - "compile-libfuzzer-undefined-x86_64": >get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 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": /src/brpc/src/bvar/detail/percentile.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": [ 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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/dh.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/naming_service_thread.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_map.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/bvar.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 2 warnings generated. 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": 53In 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 | _var->o Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": p|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | ( take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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": )(v1/src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": , 289 | memset( vthis, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": ); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 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": In file included from /src/brpc/src/brpc/periodic_task.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in 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": [ 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": /src/brpc/src/bvar/detail/percentile.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).mer/src/brpc/src/bvar/detail/percentile.h:132:13:ge(*rhs. warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]_intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_s ^ Step #30 - "compile-libfuzzer-undefined-x86_64": amp/src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": les, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29 : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": b1.merge(b2 426 | cha); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": r n/src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ame##_st 53 | ack_array[sizeof _var->op()(v1(T,p) * namve##_stack_array_size]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": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h 364: | get_interval29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16_: anote: tin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": ( 116 | return append_second(valiue, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58):9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": .merge(*rhs._intervals/src/brpc/src/bvar/window.h[i:]);151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": | 151 | _series_ ^ Step #30 - "compile-libfuzzer-undefined-x86_64": sample/src/brpc/src/bvar/detail/percentile.hr: 499= :12n:e w Serinote: esSin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested heream Step #30 - "compile-libfuzzer-undefined-x86_64": p ler(this, _var);499 Step #30 - "compile-libfuzzer-undefined-x86_64": | |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   b1.me/src/brpc/src/bvar/latency_recorder.hr:g49e:(7b:2 );note: Step #30 - "compile-libfuzzer-undefined-x86_64":  in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h :53:17:49 | clasnote: sin instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64":  La53 | t e nc y R e c o r de_rvBaars-e>o p{()( Step #30 - "compile-libfuzzer-undefined-x86_64": v 1| , ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  v2);/src/brpc/src/bvar/detail/percentile.h Step #30 - "compile-libfuzzer-undefined-x86_64": : 132| :13: ^  Step #30 - "compile-libfuzzer-undefined-x86_64": note: initializer of 'tmp_stack_array_size' is not a constant expression/src/brpc/src/bvar/detail/call_op_returning_void.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 29 :12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | 29 |  rDeEtFINuEr_nSMALL _oApR(Rv1A,Y (vu2)i;nt Step #30 - "compile-libfuzzer-undefined-x86_64": 3 2| _t ^, Step #30 - "compile-libfuzzer-undefined-x86_64": tmp, rh/src/brpc/src/bvar/detail/series.hs:.168_:n13u:m _sanote: mpin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested herele Step #30 - "compile-libfuzzer-undefined-x86_64": s , 64); Step #30 - "compile-libfuzzer-undefined-x86_64": 168| |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/butil/macros.h : 426 : 42c:a ll_note: opexpanded from macro 'DEFINE_SMALL_ARRAY'_r Step #30 - "compile-libfuzzer-undefined-x86_64": e turning_void(op, tm426p | , _d a tac.hsaerco nnda(mie)#)#;_s Step #30 - "compile-libfuzzer-undefined-x86_64": t a| ck ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _array[/src/brpc/src/bvar/detail/series.h:s116i:z16e:o f(note: Tin instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested herep) Step #30 - "compile-libfuzzer-undefined-x86_64": * nam116e | # # _ s t ac k _arreturrany_ saipzpee]n;d _s e c o n d\(v Step #30 - "compile-libfuzzer-undefined-x86_64": a l| ue ^, Step #30 - "compile-libfuzzer-undefined-x86_64": _op);: Step #30 - "compile-libfuzzer-undefined-x86_64": 161 :| 1: ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from 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 here161 Step #30 - "compile-libfuzzer-undefined-x86_64": | tmp_65 | s t a c k _ a r r a y _ s ize Step #30 - "compile-libfuzzer-undefined-x86_64": | _^s Step #30 - "compile-libfuzzer-undefined-x86_64": eries./src/brpc/src/bvar/detail/percentile.ha:p132p:e13n:d (_onote: wndeclared hereer Step #30 - "compile-libfuzzer-undefined-x86_64": ->g/src/brpc/src/butil/macros.he:t425_:v20a:l ue(note: 1expanded from macro 'DEFINE_SMALL_ARRAY') Step #30 - "compile-libfuzzer-undefined-x86_64": ) ; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: 425 | note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here   Step #30 - "compile-libfuzzer-undefined-x86_64": c onst 58u | n s i g n e d  nSaemriesSe##_stacakm_palrerra(yW_isnidzeo w=B a(sen*a moew#n#e_rs,i zRe* ::SeriesSampler::SeriesSampler' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": 0 ); \ Step #30 - "compile-libfuzzer-undefined-x86_64": | 151 ^ Step #30 - "compile-libfuzzer-undefined-x86_64": |   : 157 :1 : /src/brpc/src/bvar/detail/percentile.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_ARRAnote:  Y(uintexpanded from here_s32_t, e Step #30 - "compile-libfuzzer-undefined-x86_64": rtmp, rhs._num_samples, 64);ies_s 157ampler =  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: new note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": | tmp_stackSe_ri 426 | esSampler(acrray_hsizetahis, Step #30 - "compile-libfuzzer-undefined-x86_64": r_var); Step #30 - "compile-libfuzzer-undefined-x86_64":  n| ame^##_stack_ Step #30 - "compile-libfuzzer-undefined-x86_64": array[sizeof(Tp) * name##_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).m ^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.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 |  /src/brpc/src/bvar/latency_recorder.h:49:7:  note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  49 | class/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note:  in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": L 29 | reaturn tenop(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": | cy ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Recorder/src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": Ba 168 | se call_o{p_returning_vo Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": id(op, tmp, _dat/src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | a. DEFINE_SMALL_ARRAY(usecond(i)in); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": t32_ 116 | return append_sect, 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": nd(value 426 | 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": , _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_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": :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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/esp_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/file_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/giano_authenticator.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 81%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/gzip_compress.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/hasher.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/global.cpp:38: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/remote_file_naming_service.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in 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/http2_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/load_balancer.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/load_balancer.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/excluded_servers.h:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :161:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 161 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :157:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/nshead_service.cpp:20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/nshead_service.h:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/http_rpc_protocol.cpp.o 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": :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/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": [ 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/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :185:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 185 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :181:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 181 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/locality_aware_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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/memcache_binary_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": :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": [ 83%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/mongo_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/constant_concurrency_limiter.h:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28In file included from : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/nshead_pb_service_adaptor.cppIn file included from :/src/brpc/src/bvar/latency_recorder.h25:: Step #30 - "compile-libfuzzer-undefined-x86_64": 26In file included from : Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/controller.h:/src/brpc/src/bvar/detail/percentile.h37:: Step #30 - "compile-libfuzzer-undefined-x86_64": 289In file included from :/src/brpc/src/brpc/socket_id.h16::25 : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.hwarning: :26: Step #30 - "compile-libfuzzer-undefined-x86_64": first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]In file included from /src/brpc/src/bthread/bthread.h 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:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  289warning: |   first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  memset(this, 0, Step #30 - "compile-libfuzzer-undefined-x86_64": sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample( 289 | ) : memset(dathista(),, ti0me_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": ,|  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": size/src/brpc/src/bvar/detail/sampler.hof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": | : ^116 Step #30 - "compile-libfuzzer-undefined-x86_64": :23: /src/brpc/src/bvar/detail/sampler.h:40:16: 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::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | 116 | Sample() : d ata(), time Sample_ tump; Step #30 - "compile-libfuzzer-undefined-x86_64": | s( ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 0/src/brpc/src/bvar/detail/sampler.h:98:9: ) note: in instantiation 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": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 98 |  take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: /src/brpc/src/bvar/detail/percentile.h:529:note: 28: note: in 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::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _s am116p | l er = new  saSmpamler_tplet htims);p; Step #30 - "compile-libfuzzer-undefined-x86_64": |  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h/src/brpc/src/bvar/detail/percentile.h:289:16: note: :98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested hereexplicitly cast the pointer to silence this warning 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": 289 | 529 | memset( this, 0 , sizeof(*thi _s));sa Step #30 - "compile-libfuzzer-undefined-x86_64": mpler = new sa |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  | m (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": pler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/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/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": :183:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 183 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :179:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 179 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 2 warnings generated. 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": 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: In file included from /src/brpc/src/brpc/policy/consul_naming_service.cppexpanded from macro 'DEFINE_SMALL_ARRAY':27 Step #30 - "compile-libfuzzer-undefined-x86_64": : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  425warning: |   first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  Step #30 - "compile-libfuzzer-undefined-x86_64":  c289 | memonsstet (uthis, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": n 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": s 116 | i g n Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested heree Step #30 - "compile-libfuzzer-undefined-x86_64": d name #529# | _sampler = new s_sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": tack_arr/src/brpc/src/bvar/detail/percentile.ha:y289_:s16i:z enote: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": = (289n | a m e # # _ s memseti(zethis, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64":  <= (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/nova_pbrpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/nshead_mcpack_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/nshead_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/file_naming_service.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": /src/brpc/src/bvar/detail/percentile.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/crc32c_checksum.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/crc32c_checksum.h:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/checksum.h:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSa/src/brpc/src/brpc/policy/baidu_rpc_protocol.cppm:p84l:eIn file included from 30r/src/brpc/src/brpc/policy/discovery_naming_service.cpp: (:warning: 26t: Step #30 - "compile-libfuzzer-undefined-x86_64": hIn file included from variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]i/src/brpc/src/bthread/bthread.hs: Step #30 - "compile-libfuzzer-undefined-x86_64": 32,: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from _/src/brpc/src/bthread/mutex.hv:a27r: Step #30 - "compile-libfuzzer-undefined-x86_64": )In file included from ;/src/brpc/src/bvar/utils/lock_timer.h: Step #30 - "compile-libfuzzer-undefined-x86_64": 28 84: Step #30 - "compile-libfuzzer-undefined-x86_64": | | In file included from  /src/brpc/src/bvar/latency_recorder.h ^ : Step #30 - "compile-libfuzzer-undefined-x86_64": 26 : Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/latency_recorder.h/src/brpc/src/bvar/detail/percentile.h :: 49289::c716h:a: r  note: hwarning: ein instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested hereafirst argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]d Step #30 - "compile-libfuzzer-undefined-x86_64": e Step #30 - "compile-libfuzzer-undefined-x86_64": r_ a49n | d_cmleatsas[ 1289L2 | a t e+ n cm ye Rt ea c_moserimdzseeer]tB;(as Step #30 - "compile-libfuzzer-undefined-x86_64": te h | i{s ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": ,  | 0 ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp,: 84:s35/src/brpc/src/bvar/detail/percentile.hi::z 132e:o13fnote: : (initializer of 'meta_size' is not a constant expression* Step #30 - "compile-libfuzzer-undefined-x86_64": note: thinitializer of 'tmp_stack_array_size' is not a constant expressionis Step #30 - "compile-libfuzzer-undefined-x86_64": )); Step #30 - "compile-libfuzzer-undefined-x86_64": 84 | 132 |  c| h a ^ r Step #30 - "compile-libfuzzer-undefined-x86_64":  h e /src/brpc/src/bvar/detail/sampler.ha :dD40eE:rF16_I:aN nEd__Snote: mMeAin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested heretLaL Step #30 - "compile-libfuzzer-undefined-x86_64": [_A1R2RA Y+40( | um ie nt ta 3_S2sa_imtzp,el ]et;(m)p Step #30 - "compile-libfuzzer-undefined-x86_64": , : | rdh ^as Step #30 - "compile-libfuzzer-undefined-x86_64": t.a_(n)/src/brpc/src/brpc/policy/baidu_rpc_protocol.cpp,: 82t:im20e:_ us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | u m _ s a m_pslaemsp,ler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 64/src/brpc/src/bvar/detail/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": )82 | ;  Step #30 - "compile-libfuzzer-undefined-x86_64": co| ns ^ Step #30 - "compile-libfuzzer-undefined-x86_64": t ui/src/brpc/src/butil/macros.hn:t4263:242_:t menote: taexpanded from macro 'DEFINE_SMALL_ARRAY'_si Step #30 - "compile-libfuzzer-undefined-x86_64": z e = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :191:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 191 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :187:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 187 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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 | _se/src/brpc/src/bvar/detail/percentile.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": ries_sam 426 | char name##_stack_array[sizeof(Tp) * name##_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": p 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": l/src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: er =note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested heren Step #30 - "compile-libfuzzer-undefined-x86_64": ew Ser i29 | return op(vesSampler(th1, v2);is Step #30 - "compile-libfuzzer-undefined-x86_64": | , _v ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13ar); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": : /src/brpc/src/bvar/latency_recorder.h:note: 49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returni 49 | class LatencyRecng_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": orderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42:/src/brpc/src/bvar/window.h :note: 65:expanded from macro 'DEFINE_SMALL_ARRAY'25: Step #30 - "compile-libfuzzer-undefined-x86_64": note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | 426 |  _char namseries.appee#n#_dstack(__arrayow[nesirzeof(T-p)> get*_ value(name##_s1));tack_array Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _/src/brpc/src/bvar/window.h:58:9:size]; 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": :223:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | tmp_st SeriesSaack_array_mplesizre Step #30 - "compile-libfuzzer-undefined-x86_64": (| Win^d Step #30 - "compile-libfuzzer-undefined-x86_64": owBase* /src/brpc/src/bvar/detail/percentile.ho:w132n:e13r:, R*note: vdeclared herear Step #30 - "compile-libfuzzer-undefined-x86_64": ) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h :| 425: ^20 Step #30 - "compile-libfuzzer-undefined-x86_64": : note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const u151n | s i g n e d _series_ snaammpel#e#r_ s=t acnke_war rSaeyr_iseiszSea m=p l(enra(met#h#i_ssi,z e_ v::expose_impl' requested here0 Step #30 - "compile-libfuzzer-undefined-x86_64":  ); \ Step #30 - "compile-libfuzzer-undefined-x86_64": 49| |  ^c Step #30 - "compile-libfuzzer-undefined-x86_64": lass :L219a:1t:e ncynote: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_aRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: rray_size Step #30 - "compile-libfuzzer-undefined-x86_64":  | ^ 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": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 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": 2 warnings generated. 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": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_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": :86:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 86 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :82:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 82 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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));[ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/redis_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member 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/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": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/remote_file_naming_service.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/gzip_compress.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 86%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/round_robin_load_balancer.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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": [ 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": :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": /src/brpc/src/bvar/detail/percentile.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": 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": 3 warnings generated. 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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/streaming_rpc_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/timeout_concurrency_limiter.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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/nacos_naming_service.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/nacos_naming_service.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/channel.h:33: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/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/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": /src/brpc/src/bvar/detail/percentile.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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/policy/ubrpc2pb_protocol.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/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": /src/brpc/src/bvar/detail/percentile.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": In file included from /src/brpc/src/brpc/policy/memcache_binary_protocol.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": [ 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/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:294:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 294 | SerializeHuluHeaderAndMeta(&res_buf, meta, res_size + attached_size); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:30: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:582:5: note: in instantiation of function template specialization 'brpc::policy::SerializeHuluHeaderAndMeta' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 582 | SerializeHuluHeaderAndMeta(&res_buf, request_meta, 0); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:157:35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 157 | char header_and_meta[12 + meta_size]; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/policy/hulu_pbrpc_protocol.cpp:155:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 155 | const uint32_t meta_size = GetProtobufByteSize(meta); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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": 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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :110:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 110 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from :106:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 106 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": 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/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": In file included from /src/brpc/src/brpc/policy/nshead_mcpack_protocol.cpp:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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 /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: 32132: Step #30 - "compile-libfuzzer-undefined-x86_64": | In file included from /src/brpc/src/bthread/mutex.h : 27 : Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h : 28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16:  DEFINE_SMALL_ARRAY(uint32_t, tmp, warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": rhs._num_samples, 289 | 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^m Step #30 - "compile-libfuzzer-undefined-x86_64": emse/src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": t( 426thi | s,  0char name##_stack_array[, ssizeofizeo(Tp) * name##_stack_array_size]; f(*this ));\ Step #30 - "compile-libfuzzer-undefined-x86_64": |  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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/sampler.h:40:16: /src/brpc/src/bvar/detail/percentile.hnote: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here:132:13: note:  Step #30 - "compile-libfuzzer-undefined-x86_64": declared here  Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:40425 | : 20 : Snote: expanded from macro 'DEFINE_SMALL_ARRAY'am Step #30 - "compile-libfuzzer-undefined-x86_64": p le() : data425(), | const unsignedtime_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | name##_stack_array_size = ( n a me##_ Samplee t, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": :28215: | tmpnote: _sin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hereta Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | ck_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": /src/brpc/src/bvar/detail/percentile.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, vIn file included from /src/brpc/src/brpc/policy/snappy_compress.cpp:222); 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 /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": Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in 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/call_op_returning_void.h/src/brpc/src/bvar/detail/sampler.h:116::23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here29:12: Step #30 - "compile-libfuzzer-undefined-x86_64": 116 |  note: Samplein instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": < 29T | > tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h :98:9:  retunote: rnin instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here  Step #30 - "compile-libfuzzer-undefined-x86_64": op(v1, 98 | v 2)take_sample;(); Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 |  _sampler = /src/brpc/src/bvar/detail/series.hn:ew sampler_ty168:13pe(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 | note:  memsetin instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here(thi Step #30 - "compile-libfuzzer-undefined-x86_64": s, 0 , sizeof(168*t | call_op_hirseturnin)g); Step #30 - "compile-libfuzzer-undefined-x86_64": _| vo ^ Step #30 - "compile-libfuzzer-undefined-x86_64": id( op, tmp,|  (void*) 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:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/round_robin_load_balancer.cpp:22: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.h:34: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/details/ssl_helper.h:33: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFIN2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": E_SMALL_ARRAY(uint32_t, 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_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": [ 89%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/protocol.cpp.o 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": 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": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 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": :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_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": :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_helper.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.cpp.o 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/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(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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: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": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/timeout_concurrency_limiter.h:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/concurrency_limiter.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/controller.h:37: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/redis_reply.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.cpp:19: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/streaming_rpc_protocol.h:23: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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": 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": 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": 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);[ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rpc_dump.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | [ 91%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/retry_policy.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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:[ 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": 42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | ch/src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cppa:r144:30: namwarning: e##_variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]st Step #30 - "compile-libfuzzer-undefined-x86_64": a 144 | ck_array[sizeof( Tp ) * cnhaamre# #h_esatdaecrk__aanrdr_amye_tsai[ze]2;4  + m eta_siz\ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": e]; Step #30 - "compile-libfuzzer-undefined-x86_64": :219| :1 ^~~~~~~~~~~~~~: Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from here/src/brpc/src/brpc/policy/sofa_pbrpc_protocol.cpp: Step #30 - "compile-libfuzzer-undefined-x86_64": 144 :35: note: initializer of 'meta_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_arra144 | y _ s i z e  Step #30 - "compile-libfuzzer-undefined-x86_64":  c| ha^r Step #30 - "compile-libfuzzer-undefined-x86_64":  head/src/brpc/src/bvar/detail/percentile.he:r132_:a13n:d _meta[note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20:24 + m etanote: _sexpanded from macro 'DEFINE_SMALL_ARRAY'iz 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/brpc/policy/sofa_pbrpc_protocol.cpp:142:20: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 142 | co425 | cnosntst u inutn3s2i_t meta_gneds inzaem e=# #G_esttProtobufByack_atrerSaiyz_esi(zmee t=a )(;na Step #30 - "compile-libfuzzer-undefined-x86_64": m e| ## ^_ Step #30 - "compile-libfuzzer-undefined-x86_64": si/src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": ze <= (maxsize )132 | ? n a m e # # _ s i z eD E:F IN0E_)S;M ALL_ARRAY(uint32_t,\ tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": | Step #30 - "compile-libfuzzer-undefined-x86_64":  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h: |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY': Step #30 - "compile-libfuzzer-undefined-x86_64": 215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \215 Step #30 - "compile-libfuzzer-undefined-x86_64": | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/rtmp.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [ 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/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": [ 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/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": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/simple_data_pool.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/weighted_randomized_load_balancer.cpp:23: Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket.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": [ 94%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/socket_map.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": :182:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 182 | tmp_stack_array_In file included from size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/brpc/progressive_attachment.cpp/src/brpc/src/bvar/detail/percentile.h::132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": 20: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY'/src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in 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 425 | | const u mensimgnesetd name##_stack_array_size = (name##_size <= (maxsize) ? name##_size :(t 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :178:1: note: expanded from herehi Step #30 - "compile-libfuzzer-undefined-x86_64": 178 | tmps_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": , 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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: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.h98:9: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": note:  in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 98 memset(this, 0, sizeof(*this)); |  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  /src/brpc/src/bvar/detail/sampler.h:40:16:  tanote: kin instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": e_sam 40 | plSe(ample() : data(), time_)us;(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":  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | 529 | _ sa _sampler = new 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": mpler = new 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": [ 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": [ 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": /src/brpc/src/bvar/detail/percentile.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 | 2 retu warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": rn append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h: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);[ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/ts.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | 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": [ 97%] Building CXX object test/CMakeFiles/SOURCES_DEBUG_LIB.dir/__/src/brpc/uri.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": /src/brpc/src/bvar/detail/percentile.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##_stacIn file included from /src/brpc/src/brpc/protocol.cpp:42: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": k 289 | memset(th_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^i Step #30 - "compile-libfuzzer-undefined-x86_64": s, 0, sizeof(*:223t:h1i:s ))note: ;expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64":  Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 223 | tmp_ 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": | s ^t Step #30 - "compile-libfuzzer-undefined-x86_64": ac/src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": k 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": _a/src/brpc/src/bvar/detail/sampler.hr:r98a:y9_:s izenote:  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": ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h/src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": :132: 529 | 13 : _samplenote: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": r = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/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":  425 | const unsigned 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": 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": 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": 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": :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": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :200:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 200 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :196:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 196 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/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": 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": :219:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 219 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :215:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 215 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/span.cpp:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :14:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 14 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :10:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 10 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 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": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :183:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 183 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :179:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 179 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/rtmp.cpp:21: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall] Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() : data(), time_us(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:116:23: note: in instantiation of member function 'bvar::detail::Sample>::Sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | Sample tmp; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:98:9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | take_sample(); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:529:28: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 529 | _sampler = new sampler_type(this); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: note: explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | memset(this, 0, sizeof(*this)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":  |  (void*) Step #30 - "compile-libfuzzer-undefined-x86_64": 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": 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": 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": 3 warnings generated. 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": :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": /src/brpc/src/bvar/detail/percentile.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/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": 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/bvar/detail/percentile.h/src/brpc/src/bthread/bthread.h::13232:: Step #30 - "compile-libfuzzer-undefined-x86_64": 13In file included from :/src/brpc/src/bthread/mutex.h :27: Step #30 - "compile-libfuzzer-undefined-x86_64": warning: In file included from /src/brpc/src/bvar/utils/lock_timer.h:variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]28: Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: 132 | first argument in call to 'memset' is a pointer to non-trivially copyable type 'bvar::detail::PercentileSamples<254>' [-Wnontrivial-memcall]  Step #30 - "compile-libfuzzer-undefined-x86_64": DEFINE_SMALL_ARRAY(ui n289t | 3 2 _ t , t m pm,e mrshest.(_ntuhmi_ssa,m pl0es,, s6i4ze)o;f Step #30 - "compile-libfuzzer-undefined-x86_64": ( *| t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~h Step #30 - "compile-libfuzzer-undefined-x86_64": is))/src/brpc/src/butil/macros.h;:426 Step #30 - "compile-libfuzzer-undefined-x86_64": : 29| : ^ Step #30 - "compile-libfuzzer-undefined-x86_64": note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/sampler.h:40:16: note: in instantiation of member function 'bvar::detail::PercentileSamples<254>::PercentileSamples' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 40 | Sample() 426: | d a t a(c)h,a rti mnea_mues(0) {} Step #30 - "compile-libfuzzer-undefined-x86_64": | ##_sta ^c Step #30 - "compile-libfuzzer-undefined-x86_64": k_arr/src/brpc/src/bvar/detail/sampler.ha:y116[:23s:i zeonote: fin instantiation of member function 'bvar::detail::Sample>::Sample' requested here(T Step #30 - "compile-libfuzzer-undefined-x86_64": p) * name##_stack _116a | r r a y _ s i z e ] ; S a m p l\e< Step #30 - "compile-libfuzzer-undefined-x86_64": T >| t ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~m Step #30 - "compile-libfuzzer-undefined-x86_64": p; Step #30 - "compile-libfuzzer-undefined-x86_64": | /src/brpc/src/bvar/detail/percentile.h: ^364 Step #30 - "compile-libfuzzer-undefined-x86_64": :36: note: /src/brpc/src/bvar/detail/sampler.h:in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here98: Step #30 - "compile-libfuzzer-undefined-x86_64": 9: note: in instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 98 | 364 | t a k e _ s a m p l e ( ) ; g Step #30 - "compile-libfuzzer-undefined-x86_64": e t| _i ^n Step #30 - "compile-libfuzzer-undefined-x86_64": terv/src/brpc/src/bvar/detail/percentile.ha:l529_:a28t:( i).note: mein instantiation of member function 'bvar::detail::ReducerSampler, bvar::detail::detail::AddPercentileSamples, bvar::detail::VoidOp>::ReducerSampler' requested hererg Step #30 - "compile-libfuzzer-undefined-x86_64": e(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": 529| |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64":   /src/brpc/src/bvar/detail/percentile.h : 499 : 12 : _sanote: mpin instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested herele Step #30 - "compile-libfuzzer-undefined-x86_64": r = new sampler_ t499y | p e (  t h i s b)1;.m Step #30 - "compile-libfuzzer-undefined-x86_64": e r| ge ^( Step #30 - "compile-libfuzzer-undefined-x86_64": b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, /src/brpc/src/bvar/detail/percentile.hv:2289):;16: Step #30 - "compile-libfuzzer-undefined-x86_64": | note: ^ Step #30 - "compile-libfuzzer-undefined-x86_64": explicitly cast the pointer to silence this warning Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 289 | 29 | mreemtsuertn( tohpi(sv1,, v02),;  Step #30 - "compile-libfuzzer-undefined-x86_64": s i| ze ^o Step #30 - "compile-libfuzzer-undefined-x86_64": f(*th/src/brpc/src/bvar/detail/series.hi:s168:)13):;  Step #30 - "compile-libfuzzer-undefined-x86_64":  note: | in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here ^ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64":  | 168 (void*) | Step #30 - "compile-libfuzzer-undefined-x86_64":  call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :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": 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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension] Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:29: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:364:36: note: in instantiation of function template specialization 'bvar::detail::PercentileInterval<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 364 | get_interval_at(i).merge(*rhs._intervals[i]); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:499:12: note: in instantiation of function template specialization 'bvar::detail::PercentileSamples<254>::merge<254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 499 | b1.merge(b2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:53:17: note: in instantiation of function template specialization 'bvar::detail::detail::AddPercentileSamples::operator()<254UL, 254UL>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 53 | _var->op()(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/call_op_returning_void.h:29:12: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::Op::operator()' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 29 | return op(v1, v2); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:168:13: note: in instantiation of function template specialization 'bvar::detail::call_op_returning_void::SeriesSampler::Op, bvar::detail::PercentileSamples<254>, bvar::detail::PercentileSamples<254>>' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 168 | call_op_returning_void(op, tmp, _data.second(i)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/series.h:116:16: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append_second' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 116 | return append_second(value, _op); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:65:25: note: in instantiation of member function 'bvar::detail::SeriesBase, bvar::detail::WindowBase::SeriesSampler::Op>::append' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 65 | _series.append(_owner->get_value(1)); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:58:9: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::take_sample' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 58 | SeriesSampler(WindowBase* owner, R* var) Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/window.h:151:35: note: in instantiation of member function 'bvar::detail::WindowBase::SeriesSampler::SeriesSampler' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 151 | _series_sampler = new SeriesSampler(this, _var); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/latency_recorder.h:49:7: note: in instantiation of member function 'bvar::detail::WindowBase::expose_impl' requested here Step #30 - "compile-libfuzzer-undefined-x86_64": 49 | class LatencyRecorderBase { Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: initializer of 'tmp_stack_array_size' is not a constant expression Step #30 - "compile-libfuzzer-undefined-x86_64": 132 | DEFINE_SMALL_ARRAY(uint32_t, tmp, rhs._num_samples, 64); Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:426:42: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 426 | char name##_stack_array[sizeof(Tp) * name##_stack_array_size]; \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :166:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 166 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:132:13: note: declared here Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/butil/macros.h:425:20: note: expanded from macro 'DEFINE_SMALL_ARRAY' Step #30 - "compile-libfuzzer-undefined-x86_64": 425 | const unsigned name##_stack_array_size = (name##_size <= (maxsize) ? name##_size : 0); \ Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ Step #30 - "compile-libfuzzer-undefined-x86_64": :162:1: note: expanded from here Step #30 - "compile-libfuzzer-undefined-x86_64": 162 | tmp_stack_array_size Step #30 - "compile-libfuzzer-undefined-x86_64": | ^ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.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": 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": :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": /src/brpc/src/bvar/detail/percentile.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": 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": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 4 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 7 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": 3 warnings generated. Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Linking CXX static library ../output/lib/libbrpc-static-debug.a Step #30 - "compile-libfuzzer-undefined-x86_64": [ 97%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_butil.dir/fuzzing/fuzz_butil.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Linking CXX executable fuzz_butil Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target fuzz_butil Step #30 - "compile-libfuzzer-undefined-x86_64": [ 5%] Built target TEST_PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 13%] Built target PROTO_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [ 47%] Built target BUTIL_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target SOURCES_DEBUG_LIB Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Built target brpc-static-debug Step #30 - "compile-libfuzzer-undefined-x86_64": [100%] Building CXX object test/CMakeFiles/fuzz_esp.dir/fuzzing/fuzz_esp.cpp.o Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/test/fuzzing/fuzz_esp.cpp:18: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/policy/esp_protocol.h:24: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/protocol.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/socket_id.h:25: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/brpc/versioned_ref_with_id.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/bthread.h:32: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bthread/mutex.h:27: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/utils/lock_timer.h:28: Step #30 - "compile-libfuzzer-undefined-x86_64": In file included from /src/brpc/src/bvar/latency_recorder.h:26: Step #30 - "compile-libfuzzer-undefined-x86_64": /src/brpc/src/bvar/detail/percentile.h:289:16: warning: first argument in 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/tmp1ev8yokc/fuzz_json Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp1ev8yokc/fuzz_butil Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp1ev8yokc/fuzz_redis Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp1ev8yokc/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 708 --:--:-- --:--:-- --:--:-- 710 Finished Step #34 Starting Step #35 Step #35: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #35: % Total % Received % Xferd Average Speed Time Time Time Current Step #35: Dload Upload Total Spent Left Speed Step #35: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47.1M 0 0 100 47.1M 0 72.4M --:--:-- --:--:-- --:--:-- 72.5M 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 168 --:--:-- --:--:-- --:--:-- 168 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 140 --:--:-- --:--:-- --:--:-- 140 Finished Step #37 Starting Step #38 Step #38: Already have image: gcr.io/oss-fuzz/brpc Finished Step #38 PUSH DONE