box2d_sys 0.2.1

Bindings for Box2D v3.0
Documentation
Build #2126751 2025-05-18 17:32:10

# rustc version rustc 1.89.0-nightly (777d37277 2025-05-17)

# docs.rs version docsrs 0.6.0 (d8ea4838 2025-05-14)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/box2d_sys-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/box2d_sys-0.2.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250517-1.89.0-nightly-777d37277\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", kill_on_drop: false }` [INFO] [stdout] 04a63719cc559e83c424d55df4a626bef47b9703bd0d12bdb847ac55883998f2 [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" "04a63719cc559e83c424d55df4a626bef47b9703bd0d12bdb847ac55883998f2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated constant `bindgen::CargoCallbacks`: Use `CargoCallbacks::new()` instead. Please, check the documentation for further information. [INFO] [stderr] --> build.rs:25:44 [INFO] [stderr] | [INFO] [stderr] 25 | .parse_callbacks(Box::new(bindgen::CargoCallbacks)) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> build.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | let mut box2d_config = box2d_config [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `box2d_sys` (build script) generated 2 warnings [INFO] [stderr] Scraping box2d_sys v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Documenting box2d_sys v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `0,tMax` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:3613:13 [INFO] [stderr] | [INFO] [stderr] 3613 | ... = " Compute the upper bound on time before two ...terval, you should call this function\n again."] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] a fraction between [0,tMax]. This uses a swept separating axis and may miss some intermediate, [INFO] [stderr] ^^^^^^ [INFO] [stderr] = note: no item named `0,tMax` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `0,1` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:5320:13 [INFO] [stderr] | [INFO] [stderr] 5320 | #[doc = " The Coulomb (dry) friction coefficient, usually in the range [0,1]."] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] The Coulomb (dry) friction coefficient, usually in the range [0,1]. [INFO] [stderr] ^^^ [INFO] [stderr] = note: no item named `0,1` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `0,1` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:5322:13 [INFO] [stderr] | [INFO] [stderr] 5322 | #[doc = " The restitution (bounce) usually in the range [0,1]."] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] The restitution (bounce) usually in the range [0,1]. [INFO] [stderr] ^^^ [INFO] [stderr] = note: no item named `0,1` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `0,1` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:5504:13 [INFO] [stderr] | [INFO] [stderr] 5504 | #[doc = " The friction coefficient, usually in the range [0,1]."] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] The friction coefficient, usually in the range [0,1]. [INFO] [stderr] ^^^ [INFO] [stderr] = note: no item named `0,1` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `0,1` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:5506:13 [INFO] [stderr] | [INFO] [stderr] 5506 | #[doc = " The restitution (elasticity) usually in the range [0,1]."] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] The restitution (elasticity) usually in the range [0,1]. [INFO] [stderr] ^^^ [INFO] [stderr] = note: no item named `0,1` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `0,1` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:6270:13 [INFO] [stderr] | [INFO] [stderr] 6270 | #[doc = " Position correction factor in the range [0,1]"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] Position correction factor in the range [0,1] [INFO] [stderr] ^^^ [INFO] [stderr] = note: no item named `0,1` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:287:9 [INFO] [stderr] | [INFO] [stderr] 287 | #[doc = " Version numbering scheme.\n See https://semver.org/"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 287 | #[doc = <" Version numbering scheme.\n See https://semver.org/">] [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:5494:9 [INFO] [stderr] | [INFO] [stderr] 5494 | ... = " Used to create a chain of line segments...ons. This is an advanced feature.\n @ingroup shape"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 5494 | #[doc = <" Used to create a chain of line segments. This is designed to eliminate ghost collisions with some limitations.\n\t- chains are one-sided\n\t- chains have no mass and should be used on static bodies\n\t- chains have a counter-clockwise winding order\n\t- chains are either a loop or open\n - a chain must have at least 4 points\n\t- the distance between any two points must be greater than b2_linearSlop\n\t- a chain shape should not self intersect (this is not validated)\n\t- an open chain shape has NO COLLISION on the first and final edge\n\t- you may overlap two open chains on their first three and/or last three points to get smooth collision\n\t- a chain shape creates multiple line segment shapes on the body\n https://en.wikipedia.org/wiki/Polygonal_chain\n Must be initialized using b2DefaultChainDef().\n\t@warning Do not use chain shapes unless you understand the limitations. This is an advanced feature.\n @ingroup shape">] [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/box2d_sys-c93b04cea189200c/out/bindings.rs:8172:9 [INFO] [stderr] | [INFO] [stderr] 8172 | #[doc = " These colors are used for debug draw.\n\tSee https://www.rapidtables.com/web/color/index.html"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 8172 | #[doc = <" These colors are used for debug draw.\n\tSee https://www.rapidtables.com/web/color/index.html">] [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `box2d_sys` (lib doc) generated 9 warnings (run `cargo fix --lib -p box2d_sys` to apply 3 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/box2d_sys/index.html [INFO] running `Command { std: "docker" "inspect" "04a63719cc559e83c424d55df4a626bef47b9703bd0d12bdb847ac55883998f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a63719cc559e83c424d55df4a626bef47b9703bd0d12bdb847ac55883998f2", kill_on_drop: false }` [INFO] [stdout] 04a63719cc559e83c424d55df4a626bef47b9703bd0d12bdb847ac55883998f2