[INFO] fetching crate liquidfun 0.8.0... [INFO] documenting liquidfun-0.8.0 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate liquidfun 0.8.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate liquidfun 0.8.0 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b532785d3a3bc95bd09ba238f3a348a9d5ae9a2765687c9cff2dd530e4a89cf6 [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" "b532785d3a3bc95bd09ba238f3a348a9d5ae9a2765687c9cff2dd530e4a89cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b532785d3a3bc95bd09ba238f3a348a9d5ae9a2765687c9cff2dd530e4a89cf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b532785d3a3bc95bd09ba238f3a348a9d5ae9a2765687c9cff2dd530e4a89cf6", kill_on_drop: false }` [INFO] [stdout] b532785d3a3bc95bd09ba238f3a348a9d5ae9a2765687c9cff2dd530e4a89cf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d75740a5e50180d9220dc2533fe591dbc9535fb11694eaeb111f1090641c2c1 [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" "9d75740a5e50180d9220dc2533fe591dbc9535fb11694eaeb111f1090641c2c1", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Compiling liquidfun v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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] [stderr] Documenting liquidfun v0.8.0 (/opt/rustwide/workdir) [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 [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 document `liquidfun`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name liquidfun src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-9fd52309a8d06d5b.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-1ad3ad1e20beb97f.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "9d75740a5e50180d9220dc2533fe591dbc9535fb11694eaeb111f1090641c2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d75740a5e50180d9220dc2533fe591dbc9535fb11694eaeb111f1090641c2c1", kill_on_drop: false }` [INFO] [stdout] 9d75740a5e50180d9220dc2533fe591dbc9535fb11694eaeb111f1090641c2c1