simetry 0.2.3

Interface with telemetry of various racing and driving sims
Documentation

Build #2644752 2025-11-08 07:39:27

# rustc version rustc 1.93.0-nightly (843f8ce2e 2025-11-07)

# docs.rs version docsrs 0.6.0 (fb84acf8 2025-11-04)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/simetry-0.2.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/simetry-0.2.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251107-1.93.0-nightly-843f8ce2e\", \"--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", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] da05d7ce0fc2be934515e08853ccb6e62bdb48b148638781ccea1c3890e0e228 [INFO] running `Command { std: "docker" "start" "-a" "da05d7ce0fc2be934515e08853ccb6e62bdb48b148638781ccea1c3890e0e228", kill_on_drop: false }` [INFO] [stderr] Checking simetry v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to check lib in package `simetry` as a prerequisite for scraping examples from: example "assetto_corsa_competizione_get_data", example "assetto_corsa_competizione_rev_and_speed", example "assetto_corsa_get_data", example "assetto_corsa_rev_and_speed", example "dirt_rally_2_get_data", example "iracing_data_retrieval", example "iracing_disk_data", example "iracing_rev_and_speed", example "iracing_run_command", example "iracing_variables", example "query_truck_simulator_json", example "query_truck_simulator_shared_memory", example "raceroom_get_data", example "rfactor_2_rev_and_speed", example "simetry_get_data", example "simetry_read_pedals" [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (lib) generated 1 warning [INFO] [stderr] Scraping simetry v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: failed to scan example "iracing_data_retrieval" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "assetto_corsa_competizione_get_data" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "assetto_corsa_get_data" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "iracing_data_retrieval") generated 1 warning [INFO] [stderr] warning: `simetry` (example "assetto_corsa_competizione_get_data") generated 1 warning [INFO] [stderr] warning: failed to scan example "dirt_rally_2_get_data" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "assetto_corsa_get_data") generated 1 warning [INFO] [stderr] warning: `simetry` (example "dirt_rally_2_get_data") generated 1 warning [INFO] [stderr] warning: failed to scan example "simetry_get_data" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "simetry_get_data") generated 1 warning [INFO] [stderr] warning: failed to scan example "query_truck_simulator_json" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "query_truck_simulator_json") generated 1 warning [INFO] [stderr] warning: failed to scan example "iracing_run_command" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "iracing_run_command") generated 1 warning [INFO] [stderr] warning: failed to scan example "iracing_disk_data" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "iracing_rev_and_speed" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "assetto_corsa_competizione_rev_and_speed" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "assetto_corsa_competizione_rev_and_speed") generated 1 warning [INFO] [stderr] warning: `simetry` (example "iracing_disk_data") generated 1 warning [INFO] [stderr] warning: `simetry` (example "iracing_rev_and_speed") generated 1 warning [INFO] [stderr] warning: failed to scan example "raceroom_get_data" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "raceroom_get_data") generated 1 warning [INFO] [stderr] warning: failed to scan example "query_truck_simulator_shared_memory" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "query_truck_simulator_shared_memory") generated 1 warning [INFO] [stderr] warning: failed to scan example "iracing_variables" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: failed to scan example "rfactor_2_rev_and_speed" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "iracing_variables") generated 1 warning [INFO] [stderr] warning: `simetry` (example "rfactor_2_rev_and_speed") generated 1 warning [INFO] [stderr] warning: failed to scan example "simetry_read_pedals" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "simetry_read_pedals") generated 1 warning [INFO] [stderr] warning: failed to scan example "assetto_corsa_rev_and_speed" in package `simetry` for example code usage [INFO] [stderr] Try running with `--verbose` to see the error message. [INFO] [stderr] If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml [INFO] [stderr] warning: `simetry` (example "assetto_corsa_rev_and_speed") generated 1 warning [INFO] [stderr] Documenting simetry v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/iracing/flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / bitmask! { [INFO] [stderr] 4 | | /// Description of camera state. [INFO] [stderr] 5 | | pub mask CameraState: u16 where [INFO] [stderr] 6 | | /// States that are part of the camera. [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `unstable_generic_http_client`, `with_r3e`, and `with_truck_simulator` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `bitmask` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `bitmask` may come from an old version of the `bitmask` crate, try updating your dependency with `cargo update -p bitmask` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitmask` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `std` [INFO] [stderr] --> src/iracing/flags.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | / bitmask! { [INFO] [stderr] 4 | | /// Description of camera state. [INFO] [stderr] 5 | | pub mask CameraState: u16 where [INFO] [stderr] 6 | | /// States that are part of the camera. [INFO] [stderr] ... | [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `unstable_generic_http_client`, `with_r3e`, and `with_truck_simulator` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `bitmask` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `bitmask` may come from an old version of the `bitmask` crate, try updating your dependency with `cargo update -p bitmask` [INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `bitmask` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `num_vars` [INFO] [stderr] --> src/iracing/header.rs:32:35 [INFO] [stderr] | [INFO] [stderr] 32 | /// Offset to irsdk_varHeader[num_vars] array, Describes the variables received in var_buf [INFO] [stderr] | ^^^^^^^^ no item named `num_vars` in scope [INFO] [stderr] | [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 `var_type` [INFO] [stderr] --> src/iracing/header.rs:86:50 [INFO] [stderr] | [INFO] [stderr] 86 | /// So length in bytes would be VarTypeBytes[var_type] * count [INFO] [stderr] | ^^^^^^^^ no item named `var_type` in scope [INFO] [stderr] | [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] --> src/truck_simulator/json_client.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | /// Uses https://github.com/Funbit/ets2-telemetry-server to query JSON data [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] 20 | /// Uses <https://github.com/Funbit/ets2-telemetry-server> to query JSON data [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `simetry` (lib doc) generated 5 warnings (run `cargo fix --lib -p simetry` to apply 1 suggestion) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/simetry/index.html [INFO] running `Command { std: "docker" "inspect" "da05d7ce0fc2be934515e08853ccb6e62bdb48b148638781ccea1c3890e0e228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da05d7ce0fc2be934515e08853ccb6e62bdb48b148638781ccea1c3890e0e228", kill_on_drop: false }` [INFO] [stdout] da05d7ce0fc2be934515e08853ccb6e62bdb48b148638781ccea1c3890e0e228