Build #1492569 2024-11-04T08:55:14.762044+00:00
# rustc version
rustc 1.84.0-nightly (b8c8287a2 2024-11-03)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/units-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/units-0.1.0/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241103-1.84.0-nightly-b8c8287a2\", \"--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] [stdout] c67126326dd40cecc6a889b08008d900996122bfb846dae8de5fc4f5b38c04b5
[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" "c67126326dd40cecc6a889b08008d900996122bfb846dae8de5fc4f5b38c04b5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr] --> src/lib.rs:18:31
[INFO] [stderr] |
[INFO] [stderr] 18 | pub trait UnitFormat { fn fmt(&mut Formatter) -> Result; }
[INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Formatter`
[INFO] [stderr] |
[INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr] --> src/lib.rs:49:13
[INFO] [stderr] |
[INFO] [stderr] 49 | try!(self.amount.fmt(formatter));
[INFO] [stderr] | ^^^
[INFO] [stderr] ...
[INFO] [stderr] 263 | / units! {
[INFO] [stderr] 264 | | Units {
[INFO] [stderr] 265 | | Meter[m],
[INFO] [stderr] 266 | | Second[s]
[INFO] [stderr] 267 | | }
[INFO] [stderr] 268 | | }
[INFO] [stderr] | |_____- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr] --> src/lib.rs:156:26
[INFO] [stderr] |
[INFO] [stderr] 156 | 1 => try!(write!(formatter, " {}", stringify!($unit))),
[INFO] [stderr] | ^^^
[INFO] [stderr] ...
[INFO] [stderr] 263 | / units! {
[INFO] [stderr] 264 | | Units {
[INFO] [stderr] 265 | | Meter[m],
[INFO] [stderr] 266 | | Second[s]
[INFO] [stderr] 267 | | }
[INFO] [stderr] 268 | | }
[INFO] [stderr] | |_____- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stderr] --> src/lib.rs:157:26
[INFO] [stderr] |
[INFO] [stderr] 157 | _ => try!(write!(formatter, " {}^{:?}", stringify!($unit), exp))
[INFO] [stderr] | ^^^
[INFO] [stderr] ...
[INFO] [stderr] 263 | / units! {
[INFO] [stderr] 264 | | Units {
[INFO] [stderr] 265 | | Meter[m],
[INFO] [stderr] 266 | | Second[s]
[INFO] [stderr] 267 | | }
[INFO] [stderr] 268 | | }
[INFO] [stderr] | |_____- in this macro invocation
[INFO] [stderr] |
[INFO] [stderr] = note: this warning originates in the macro `units` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: `units` (lib) generated 4 warnings (run `cargo fix --lib -p units` to apply 1 suggestion)
[INFO] [stderr] Scraping units v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Documenting units v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/units/index.html
[INFO] running `Command { std: "docker" "inspect" "c67126326dd40cecc6a889b08008d900996122bfb846dae8de5fc4f5b38c04b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c67126326dd40cecc6a889b08008d900996122bfb846dae8de5fc4f5b38c04b5", kill_on_drop: false }`
[INFO] [stdout] c67126326dd40cecc6a889b08008d900996122bfb846dae8de5fc4f5b38c04b5