[INFO] fetching crate liquidfun 0.8.0... [INFO] checking liquidfun-0.8.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate liquidfun 0.8.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate liquidfun 0.8.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 997c460d494644ef4a3294d7a07120d88ee252719aae28d30087b2b23ca6c4de [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "997c460d494644ef4a3294d7a07120d88ee252719aae28d30087b2b23ca6c4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "997c460d494644ef4a3294d7a07120d88ee252719aae28d30087b2b23ca6c4de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997c460d494644ef4a3294d7a07120d88ee252719aae28d30087b2b23ca6c4de", kill_on_drop: false }` [INFO] [stdout] 997c460d494644ef4a3294d7a07120d88ee252719aae28d30087b2b23ca6c4de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80fb134d01e4ef31990a77ce687318a1b3ca321ab534784486885c51c7b3c9a4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80fb134d01e4ef31990a77ce687318a1b3ca321ab534784486885c51c7b3c9a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Compiling liquidfun v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> src/build.rs:7:22 [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:22 [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: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator+(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:177:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 177 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:179:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 179 | return newColor; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator-(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:197:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 197 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:199:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 199 | return newColor; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:9: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp: In constructor 'b2DynamicTree::b2DynamicTree()': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp:31:56: 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: 31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Collision/b2BroadPhase.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:40, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.h:28:8: note: 'struct b2TreeNode' declared here [INFO] [stderr] warning: 28 | struct b2TreeNode [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: At global scope: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:55:60: warning: left shift of negative value [-Wshift-negative-value] [INFO] [stderr] warning: 55 | (-1 << xShift)); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: 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: 303 | class FixtureParticleSet : [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: 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: 326 | class b2ParticlePairSet : public TypedFixedSetAllocator [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In member function 'void b2ParticleSystem::PrepareForceBuffer()': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4453:60: 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: 4453 | memset(m_forceBuffer, 0, sizeof(*m_forceBuffer) * m_count); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: 56 | struct b2Vec2 [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = float]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:153:28: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:19: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 253 | return color; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = unsigned char]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:159:28: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:19: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 253 | return color; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2ParticleColor]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:560:55: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:9: 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: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: 81 | class b2ParticleColor [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2Vec2]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4402:26: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:9: 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: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: 56 | struct b2Vec2 [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32) [with T = b2ParticleColor; int32 = int]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:511:10: required from 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:523:42: required from 'T* b2ParticleSystem::ReallocateBuffer(b2ParticleSystem::UserOverridableBuffer*, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:622:63: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:493:9: 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: 493 | memcpy(newBuffer, oldBuffer, sizeof(T) * oldCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: 81 | class b2ParticleColor [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [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: 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: 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: 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 a macro (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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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 a macro (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] | ^^^^^ help: use `dyn`: `dyn Shape` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn shape::Shape` [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: 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] | ^^^^^ help: use `dyn`: `dyn Shape` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn shape::Shape` [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] 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 with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 9 | fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &'static 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 with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 110 | fn b2Body_GetPosition(this: *mut B2Body) -> &'static 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 with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 9 | fn b2PolygonShape_GetVertex(ptr: *mut B2PolygonShape, index: Int32) -> &'static 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 with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 110 | fn b2Body_GetPosition(this: *mut B2Body) -> &'static Vec2; [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: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator+(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:177:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 177 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:179:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 179 | return newColor; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator-(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:197:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 197 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:199:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 199 | return newColor; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:9: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp: In constructor 'b2DynamicTree::b2DynamicTree()': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp:31:56: 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: 31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Collision/b2BroadPhase.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:40, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.h:28:8: note: 'struct b2TreeNode' declared here [INFO] [stderr] warning: 28 | struct b2TreeNode [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: At global scope: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:55:60: warning: left shift of negative value [-Wshift-negative-value] [INFO] [stderr] warning: 55 | (-1 << xShift)); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: 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: 303 | class FixtureParticleSet : [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: 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: 326 | class b2ParticlePairSet : public TypedFixedSetAllocator [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In member function 'void b2ParticleSystem::PrepareForceBuffer()': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4453:60: 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: 4453 | memset(m_forceBuffer, 0, sizeof(*m_forceBuffer) * m_count); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: 56 | struct b2Vec2 [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = float]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:153:28: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:19: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 253 | return color; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = unsigned char]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:159:28: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:19: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 253 | return color; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2ParticleColor]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:560:55: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:9: 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: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: 81 | class b2ParticleColor [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2Vec2]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4402:26: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:9: 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: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: 56 | struct b2Vec2 [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32) [with T = b2ParticleColor; int32 = int]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:511:10: required from 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:523:42: required from 'T* b2ParticleSystem::ReallocateBuffer(b2ParticleSystem::UserOverridableBuffer*, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:622:63: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:493:9: 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: 493 | memcpy(newBuffer, oldBuffer, sizeof(T) * oldCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: 81 | class b2ParticleColor [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `liquidfun` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator+(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:177:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 177 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:179:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 179 | return newColor; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In member function 'b2ParticleColor b2ParticleColor::operator-(const b2ParticleColor&) const': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:197:33: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 197 | b2ParticleColor newColor(*this); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:199:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 199 | return newColor; [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:9: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp: In constructor 'b2DynamicTree::b2DynamicTree()': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.cpp:31:56: 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: 31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode)); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Collision/b2BroadPhase.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:40, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Collision/b2DynamicTree.h:28:8: note: 'struct b2TreeNode' declared here [INFO] [stderr] warning: 28 | struct b2TreeNode [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: At global scope: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:55:60: warning: left shift of negative value [-Wshift-negative-value] [INFO] [stderr] warning: 55 | (-1 << xShift)); [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: 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: 303 | class FixtureParticleSet : [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: 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: 326 | class b2ParticlePairSet : public TypedFixedSetAllocator [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In member function 'void b2ParticleSystem::PrepareForceBuffer()': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4453:60: 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: 4453 | memset(m_forceBuffer, 0, sizeof(*m_forceBuffer) * m_count); [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: 56 | struct b2Vec2 [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = float]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:153:28: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:19: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 253 | return color; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h: In instantiation of 'b2ParticleColor b2ParticleColor::MultiplyByScalar(T) const [with T = unsigned char]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:159:28: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:251:19: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 251 | b2ParticleColor color(*this); [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:253:10: warning: implicitly-declared 'constexpr b2ParticleColor::b2ParticleColor(const b2ParticleColor&)' is deprecated [-Wdeprecated-copy] [INFO] [stderr] warning: 253 | return color; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:124:19: note: because 'b2ParticleColor' has user-provided 'b2ParticleColor& b2ParticleColor::operator=(const b2ParticleColor&)' [INFO] [stderr] warning: 124 | b2ParticleColor& operator = (const b2ParticleColor &color) [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2ParticleColor]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:560:55: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:9: 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: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: 81 | class b2ParticleColor [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::RequestBuffer(T*) [with T = b2Vec2]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:4402:26: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:553:9: 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: 553 | memset(buffer, 0, sizeof(T) * m_internalAllocatedCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:23, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Common/b2Math.h:56:8: note: 'struct b2Vec2' declared here [INFO] [stderr] warning: 56 | struct b2Vec2 [INFO] [stderr] warning: | ^~~~~~ [INFO] [stderr] warning: In file included from liquidfun-c/c_box2d.cpp:52: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp: In instantiation of 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32) [with T = b2ParticleColor; int32 = int]': [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:511:10: required from 'T* b2ParticleSystem::ReallocateBuffer(T*, int32, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:523:42: required from 'T* b2ParticleSystem::ReallocateBuffer(b2ParticleSystem::UserOverridableBuffer*, int32, int32, bool) [with T = b2ParticleColor; int32 = int]' [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:622:63: required from here [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2ParticleSystem.cpp:493:9: 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: 493 | memcpy(newBuffer, oldBuffer, sizeof(T) * oldCapacity); [INFO] [stderr] warning: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: In file included from liquidfun-cpp/Box2D/Common/b2Draw.h:24, [INFO] [stderr] warning: from liquidfun-cpp/Box2D/Box2D.h:31, [INFO] [stderr] warning: from liquidfun-c/c_box2d.cpp:1: [INFO] [stderr] warning: liquidfun-cpp/Box2D/Particle/b2Particle.h:81:7: note: 'class b2ParticleColor' declared here [INFO] [stderr] warning: 81 | class b2ParticleColor [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "80fb134d01e4ef31990a77ce687318a1b3ca321ab534784486885c51c7b3c9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80fb134d01e4ef31990a77ce687318a1b3ca321ab534784486885c51c7b3c9a4", kill_on_drop: false }` [INFO] [stdout] 80fb134d01e4ef31990a77ce687318a1b3ca321ab534784486885c51c7b3c9a4