[INFO] fetching crate liquidfun 0.8.0... [INFO] checking liquidfun-0.8.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate liquidfun 0.8.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate liquidfun 0.8.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate liquidfun 0.8.0 [INFO] finished tweaking crates.io crate liquidfun 0.8.0 [INFO] tweaked toml for crates.io crate liquidfun 0.8.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.3.3 (available: v2.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b4d7f43d6eb890e6ba8958fb28d69d60657bbef7340b0cc1e6b3c1e4e396277 [INFO] running `Command { std: "docker" "start" "-a" "8b4d7f43d6eb890e6ba8958fb28d69d60657bbef7340b0cc1e6b3c1e4e396277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b4d7f43d6eb890e6ba8958fb28d69d60657bbef7340b0cc1e6b3c1e4e396277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4d7f43d6eb890e6ba8958fb28d69d60657bbef7340b0cc1e6b3c1e4e396277", kill_on_drop: false }` [INFO] [stdout] 8b4d7f43d6eb890e6ba8958fb28d69d60657bbef7340b0cc1e6b3c1e4e396277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08ab1f78ff9dae27b2e44ae1dc7632aa23a4952c3917787576b64ebf217876b9 [INFO] running `Command { std: "docker" "start" "-a" "08ab1f78ff9dae27b2e44ae1dc7632aa23a4952c3917787576b64ebf217876b9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling liquidfun v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> src/build.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> src/build.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator+(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:177:47: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 177 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:179:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 179 | return newColor; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator-(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:197:47: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 197 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:199:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 199 | return newColor; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:9: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp: In constructor 'b2DynamicTree::b2DynamicTree()': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp:31:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2TreeNode'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode)); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Collision/b2BroadPhase.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:40, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.h:28:8: note: 'struct b2TreeNode' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 28 | struct b2TreeNode [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: At global scope: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:55:57: warning: left shift of negative value [-Wshift-negative-value] [INFO] [stderr] warning: liquidfun@0.8.0: 55 | (-1 << xShift)); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~^~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:303:7: warning: 'FixtureParticleSet' has a base '{anonymous}::TypedFixedSetAllocator<{anonymous}::LightweightPair >' whose type uses the anonymous namespace [-Wsubobject-linkage] [INFO] [stderr] warning: liquidfun@0.8.0: 303 | class FixtureParticleSet : [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:326:7: warning: 'b2ParticlePairSet' has a base '{anonymous}::TypedFixedSetAllocator<{anonymous}::LightweightPair >' whose type uses the anonymous namespace [-Wsubobject-linkage] [INFO] [stderr] warning: liquidfun@0.8.0: 326 | class b2ParticlePairSet : public TypedFixedSetAllocator [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In member function 'void b2ParticleSystem::PrepareForceBuffer()': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4453:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2Vec2'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 4453 | memset(m_forceBuffer, 0, sizeof(*m_forceBuffer) * m_count); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 56 | struct b2Vec2 [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = float]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:153:26: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 253 | return color; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = unsigned char]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:159:26: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 253 | return color; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2ParticleColor]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:560:36: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:23: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class b2ParticleColor' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 81 | class b2ParticleColor [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2Vec2]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4401:41: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2Vec2'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 56 | struct b2Vec2 [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32) [with T = b2ParticleColor; int32 = int]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:511:28: required from 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:522:25: required from 'T* b2ParticleSystem::ReallocateBuffer(b2ParticleSystem::UserOverridableBuffer*, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:621:40: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:493:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class b2ParticleColor' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 493 | memcpy(newBuffer, oldBuffer, sizeof(T) * oldCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 81 | class b2ParticleColor [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~ [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/box2d/collision/shapes/polygon_shape.rs:9:76 [INFO] [stdout] | [INFO] [stdout] 9 | fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &Vec2; [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 9 | fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &'static Vec2; [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 9 - fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &Vec2; [INFO] [stdout] 9 + fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/box2d/dynamics/body.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | fn b2Body_GetPosition(this: *mut B2Body) -> &Vec2; [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 110 | fn b2Body_GetPosition(this: *mut B2Body) -> &'static Vec2; [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 110 - fn b2Body_GetPosition(this: *mut B2Body) -> &Vec2; [INFO] [stdout] 110 + fn b2Body_GetPosition(this: *mut B2Body) -> Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/box2d/collision/shapes/polygon_shape.rs:9:76 [INFO] [stdout] | [INFO] [stdout] 9 | fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &Vec2; [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 9 | fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &'static Vec2; [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 9 - fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &Vec2; [INFO] [stdout] 9 + fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/box2d/dynamics/body.rs:110:49 [INFO] [stdout] | [INFO] [stdout] 110 | fn b2Body_GetPosition(this: *mut B2Body) -> &Vec2; [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 110 | fn b2Body_GetPosition(this: *mut B2Body) -> &'static Vec2; [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 110 - fn b2Body_GetPosition(this: *mut B2Body) -> &Vec2; [INFO] [stdout] 110 + fn b2Body_GetPosition(this: *mut B2Body) -> Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/dynamics/body.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/dynamics/fixture.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `B2Body` [INFO] [stdout] --> src/box2d/dynamics/joints/mod.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::dynamics::body::{Body, B2Body}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/dynamics/joints/revolute_joint.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/particle/particle_color.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/particle/particle_group.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/particle/particle_system.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/box2d/particle/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitflags! { [INFO] [stdout] 13 | | /// The particle type. Can be combined with the | operator. [INFO] [stdout] 14 | | flags ParticleFlags: UInt32 { [INFO] [stdout] 15 | | /// Water particle. [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/box2d/particle/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitflags! { [INFO] [stdout] 13 | | /// The particle type. Can be combined with the | operator. [INFO] [stdout] 14 | | flags ParticleFlags: UInt32 { [INFO] [stdout] 15 | | /// Water particle. [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/dynamics/body.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/dynamics/fixture.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `B2Body` [INFO] [stdout] --> src/box2d/dynamics/joints/mod.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::dynamics::body::{Body, B2Body}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/dynamics/joints/revolute_joint.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/particle/particle_color.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/particle/particle_group.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/box2d/particle/particle_system.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | #[allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/box2d/particle/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitflags! { [INFO] [stdout] 13 | | /// The particle type. Can be combined with the | operator. [INFO] [stdout] 14 | | flags ParticleFlags: UInt32 { [INFO] [stdout] 15 | | /// Water particle. [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/box2d/particle/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / bitflags! { [INFO] [stdout] 13 | | /// The particle type. Can be combined with the | operator. [INFO] [stdout] 14 | | flags ParticleFlags: UInt32 { [INFO] [stdout] 15 | | /// Water particle. [INFO] [stdout] ... | [INFO] [stdout] 62 | | } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/box2d/dynamics/body.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn create_fixture_from_shape(&self, shape: &Shape, density: f32) -> Fixture { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | pub fn create_fixture_from_shape(&self, shape: &dyn Shape, density: f32) -> Fixture { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/box2d/dynamics/fixture.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(shape: &shape::Shape) -> FixtureDef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(shape: &dyn shape::Shape) -> FixtureDef { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/box2d/dynamics/body.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn create_fixture_from_shape(&self, shape: &Shape, density: f32) -> Fixture { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 | pub fn create_fixture_from_shape(&self, shape: &dyn Shape, density: f32) -> Fixture { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/box2d/dynamics/fixture.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(shape: &shape::Shape) -> FixtureDef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new(shape: &dyn shape::Shape) -> FixtureDef { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator+(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:177:47: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 177 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:179:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 179 | return newColor; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator-(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:197:47: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 197 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:199:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 199 | return newColor; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:9: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp: In constructor 'b2DynamicTree::b2DynamicTree()': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp:31:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2TreeNode'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode)); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Collision/b2BroadPhase.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:40, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.h:28:8: note: 'struct b2TreeNode' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 28 | struct b2TreeNode [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: At global scope: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:55:57: warning: left shift of negative value [-Wshift-negative-value] [INFO] [stderr] warning: liquidfun@0.8.0: 55 | (-1 << xShift)); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~^~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:303:7: warning: 'FixtureParticleSet' has a base '{anonymous}::TypedFixedSetAllocator<{anonymous}::LightweightPair >' whose type uses the anonymous namespace [-Wsubobject-linkage] [INFO] [stderr] warning: liquidfun@0.8.0: 303 | class FixtureParticleSet : [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:326:7: warning: 'b2ParticlePairSet' has a base '{anonymous}::TypedFixedSetAllocator<{anonymous}::LightweightPair >' whose type uses the anonymous namespace [-Wsubobject-linkage] [INFO] [stderr] warning: liquidfun@0.8.0: 326 | class b2ParticlePairSet : public TypedFixedSetAllocator [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In member function 'void b2ParticleSystem::PrepareForceBuffer()': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4453:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2Vec2'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 4453 | memset(m_forceBuffer, 0, sizeof(*m_forceBuffer) * m_count); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 56 | struct b2Vec2 [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = float]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:153:26: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 253 | return color; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = unsigned char]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:159:26: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 253 | return color; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2ParticleColor]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:560:36: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:23: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class b2ParticleColor' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 81 | class b2ParticleColor [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2Vec2]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4401:41: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2Vec2'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 56 | struct b2Vec2 [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32) [with T = b2ParticleColor; int32 = int]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:511:28: required from 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:522:25: required from 'T* b2ParticleSystem::ReallocateBuffer(b2ParticleSystem::UserOverridableBuffer*, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:621:40: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:493:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class b2ParticleColor' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 493 | memcpy(newBuffer, oldBuffer, sizeof(T) * oldCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 81 | class b2ParticleColor [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `liquidfun` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator+(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:177:47: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 177 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:179:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 179 | return newColor; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator-(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:197:47: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 197 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:199:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 199 | return newColor; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:9: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp: In constructor 'b2DynamicTree::b2DynamicTree()': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp:31:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2TreeNode'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode)); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Collision/b2BroadPhase.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:40, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Collision/b2DynamicTree.h:28:8: note: 'struct b2TreeNode' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 28 | struct b2TreeNode [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: At global scope: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:55:57: warning: left shift of negative value [-Wshift-negative-value] [INFO] [stderr] warning: liquidfun@0.8.0: 55 | (-1 << xShift)); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~^~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:303:7: warning: 'FixtureParticleSet' has a base '{anonymous}::TypedFixedSetAllocator<{anonymous}::LightweightPair >' whose type uses the anonymous namespace [-Wsubobject-linkage] [INFO] [stderr] warning: liquidfun@0.8.0: 303 | class FixtureParticleSet : [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:326:7: warning: 'b2ParticlePairSet' has a base '{anonymous}::TypedFixedSetAllocator<{anonymous}::LightweightPair >' whose type uses the anonymous namespace [-Wsubobject-linkage] [INFO] [stderr] warning: liquidfun@0.8.0: 326 | class b2ParticlePairSet : public TypedFixedSetAllocator [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In member function 'void b2ParticleSystem::PrepareForceBuffer()': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4453:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2Vec2'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 4453 | memset(m_forceBuffer, 0, sizeof(*m_forceBuffer) * m_count); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 56 | struct b2Vec2 [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = float]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:153:26: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 253 | return color; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = unsigned char]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:159:26: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:24: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: liquidfun@0.8.0: 253 | return color; [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:26: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: liquidfun@0.8.0: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2ParticleColor]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:560:36: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:23: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class b2ParticleColor' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 81 | class b2ParticleColor [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2Vec2]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4401:41: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:23: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct b2Vec2'; use assignment or value-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 56 | struct b2Vec2 [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32) [with T = b2ParticleColor; int32 = int]': [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:511:28: required from 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:522:25: required from 'T* b2ParticleSystem::ReallocateBuffer(b2ParticleSystem::UserOverridableBuffer*, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:621:40: required from here [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:493:23: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class b2ParticleColor' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] [INFO] [stderr] warning: liquidfun@0.8.0: 493 | memcpy(newBuffer, oldBuffer, sizeof(T) * oldCapacity); [INFO] [stderr] warning: liquidfun@0.8.0: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun@0.8.0: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: liquidfun@0.8.0: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun@0.8.0: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: liquidfun@0.8.0: 81 | class b2ParticleColor [INFO] [stderr] warning: liquidfun@0.8.0: | ^~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `liquidfun` (lib test) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08ab1f78ff9dae27b2e44ae1dc7632aa23a4952c3917787576b64ebf217876b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ab1f78ff9dae27b2e44ae1dc7632aa23a4952c3917787576b64ebf217876b9", kill_on_drop: false }` [INFO] [stdout] 08ab1f78ff9dae27b2e44ae1dc7632aa23a4952c3917787576b64ebf217876b9