switchtec-user-sys 0.4.2

Rust wrapper for the switchtec-user C library
Documentation
Build #2596890 2025-10-19 09:14:26
# rustc version
rustc 1.92.0-nightly (6380899f3 2025-10-18)# docs.rs version
docsrs 0.6.0 (403e80ef 2025-10-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/switchtec-user-sys-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/switchtec-user-sys-0.4.2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251018-1.92.0-nightly-6380899f3\", \"--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] dcd9396b1949cbb0db1f4686ea9d1f799254d8ce4aa62146b5d7d4e278cebe61
[INFO] running `Command { std: "docker" "start" "-a" "dcd9396b1949cbb0db1f4686ea9d1f799254d8ce4aa62146b5d7d4e278cebe61", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: get_temperature, get_temperature_with_helpers
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: switchtec-user/lib/mfg.c: In function 'switchtec_read_pubk_file':
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: switchtec-user/lib/mfg.c:881:9: warning: 'PEM_read_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   881 |         RSAKey = PEM_read_RSA_PUBKEY(pubk_file, NULL, NULL, NULL);
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       |         ^~~~~~
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: In file included from switchtec-user/lib/mfg.c:65:
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: /usr/include/openssl/pem.h:449:1: note: declared here
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: switchtec-user/lib/mfg.c:884:17: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   884 |                 RSAKey = PEM_read_RSAPrivateKey(pubk_file, NULL, NULL, NULL);
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       |                 ^~~~~~
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: /usr/include/openssl/pem.h:447:1: note: declared here
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: switchtec-user/lib/mfg.c:889:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   889 |         RSA_get0_key(RSAKey, &modulus_bn, &exponent_bn, NULL);
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       |         ^~~~~~~~~~~~
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: In file included from /usr/include/openssl/x509.h:36,
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:                  from /usr/include/openssl/pem.h:23:
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: /usr/include/openssl/rsa.h:222:28: note: declared here
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   222 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       |                            ^~~~~~~~~~~~
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: switchtec-user/lib/mfg.c:895:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   895 |         RSA_free(RSAKey);
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       |         ^~~~~~~~
[INFO] [stderr] warning: switchtec-user-sys@0.4.2: /usr/include/openssl/rsa.h:298:28: note: declared here
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:   298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
[INFO] [stderr] warning: switchtec-user-sys@0.4.2:       |                            ^~~~~~~~
[INFO] [stderr]  Documenting switchtec-user-sys v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/switchtec_user_sys/index.html
[INFO] running `Command { std: "docker" "inspect" "dcd9396b1949cbb0db1f4686ea9d1f799254d8ce4aa62146b5d7d4e278cebe61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcd9396b1949cbb0db1f4686ea9d1f799254d8ce4aa62146b5d7d4e278cebe61", kill_on_drop: false }`
[INFO] [stdout] dcd9396b1949cbb0db1f4686ea9d1f799254d8ce4aa62146b5d7d4e278cebe61