switchtec-user-sys 0.4.2

Rust wrapper for the switchtec-user C library
Documentation
Build #897963 2023-08-30 23:20:41
# rustc version
rustc 1.74.0-nightly (84a9f4c6e 2023-08-29)# docs.rs version
docsrs 0.6.0 (4e91742d 2023-08-27)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/switchtec-user-sys-0.4.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/switchtec-user-sys-0.4.2/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230829-1.74.0-nightly-84a9f4c6e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--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] 8e54c1546077d11f1c7ff5a42279719d7d86c1847564048d2e8e1e060a063d81
[INFO] running `Command { std: "docker" "start" "-a" "8e54c1546077d11f1c7ff5a42279719d7d86c1847564048d2e8e1e060a063d81", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: get_temperature_with_helpers, get_temperature
[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/lib/mfg.c: In function 'switchtec_read_pubk_file':
[INFO] [stderr] warning: switchtec-user/lib/mfg.c:881:9: warning: 'PEM_read_RSA_PUBKEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning:   881 |         RSAKey = PEM_read_RSA_PUBKEY(pubk_file, NULL, NULL, NULL);
[INFO] [stderr] warning:       |         ^~~~~~
[INFO] [stderr] warning: In file included from switchtec-user/lib/mfg.c:65:
[INFO] [stderr] warning: /usr/include/openssl/pem.h:449:1: note: declared here
[INFO] [stderr] warning:   449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA)
[INFO] [stderr] warning:       | ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: switchtec-user/lib/mfg.c:884:17: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning:   884 |                 RSAKey = PEM_read_RSAPrivateKey(pubk_file, NULL, NULL, NULL);
[INFO] [stderr] warning:       |                 ^~~~~~
[INFO] [stderr] warning: In file included from switchtec-user/lib/mfg.c:65:
[INFO] [stderr] warning: /usr/include/openssl/pem.h:447:1: note: declared here
[INFO] [stderr] warning:   447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
[INFO] [stderr] warning:       | ^~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: switchtec-user/lib/mfg.c:889:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning:   889 |         RSA_get0_key(RSAKey, &modulus_bn, &exponent_bn, NULL);
[INFO] [stderr] warning:       |         ^~~~~~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/openssl/x509.h:36,
[INFO] [stderr] warning:                  from /usr/include/openssl/pem.h:23,
[INFO] [stderr] warning:                  from switchtec-user/lib/mfg.c:65:
[INFO] [stderr] warning: /usr/include/openssl/rsa.h:217:28: note: declared here
[INFO] [stderr] warning:   217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
[INFO] [stderr] warning:       |                            ^~~~~~~~~~~~
[INFO] [stderr] warning: switchtec-user/lib/mfg.c:895:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
[INFO] [stderr] warning:   895 |         RSA_free(RSAKey);
[INFO] [stderr] warning:       |         ^~~~~~~~
[INFO] [stderr] warning: In file included from /usr/include/openssl/x509.h:36,
[INFO] [stderr] warning:                  from /usr/include/openssl/pem.h:23,
[INFO] [stderr] warning:                  from switchtec-user/lib/mfg.c:65:
[INFO] [stderr] warning: /usr/include/openssl/rsa.h:293:28: note: declared here
[INFO] [stderr] warning:   293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
[INFO] [stderr] warning:       |                            ^~~~~~~~
[INFO] [stderr]  Documenting switchtec-user-sys v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.93s
[INFO] running `Command { std: "docker" "inspect" "8e54c1546077d11f1c7ff5a42279719d7d86c1847564048d2e8e1e060a063d81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e54c1546077d11f1c7ff5a42279719d7d86c1847564048d2e8e1e060a063d81", kill_on_drop: false }`
[INFO] [stdout] 8e54c1546077d11f1c7ff5a42279719d7d86c1847564048d2e8e1e060a063d81