smtp-queue 0.1.0

Queue for SMTP messages using smol
Documentation
Build #1633597 2025-01-17 02:14:30

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.86.0-nightly (99db2737c 2025-01-16)

# docs.rs version docsrs 0.6.0 (13d4ccea 2025-01-13)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/smtp-queue-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/smtp-queue-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250116-1.86.0-nightly-99db2737c\", \"--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] 91306d8e21f6f5ec4187ed63d9e96d44db38928cce454df03acc737ccba5f514 [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" "91306d8e21f6f5ec4187ed63d9e96d44db38928cce454df03acc737ccba5f514", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Checking smtp-queue-types v0.1.0 [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smtp-queue-types-0.1.0/src/lib.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn last_interval(&self) -> Result<Option<Duration>, time::OutOfRangeError> { [INFO] [stderr] | ----------------------------------------------- expected `Result<std::option::Option<std::time::Duration>, time::OutOfRangeError>` because of return type [INFO] [stderr] 13 | / self.last_attempt [INFO] [stderr] 14 | | .map(|last| (last - self.at).to_std()) [INFO] [stderr] 15 | | .transpose() [INFO] [stderr] | |________________________^ expected `time::OutOfRangeError`, found `chrono::OutOfRangeError` [INFO] [stderr] | [INFO] [stderr] = note: `chrono::OutOfRangeError` and `time::OutOfRangeError` have similar names, but are actually distinct types [INFO] [stderr] note: `chrono::OutOfRangeError` is defined in crate `chrono` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.39/src/time_delta.rs:603:1 [INFO] [stderr] | [INFO] [stderr] 603 | pub struct OutOfRangeError(()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `time::OutOfRangeError` is defined in crate `time` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/time-0.1.45/src/duration.rs:407:1 [INFO] [stderr] | [INFO] [stderr] 407 | pub struct OutOfRangeError(()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `smtp-queue-types` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "91306d8e21f6f5ec4187ed63d9e96d44db38928cce454df03acc737ccba5f514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91306d8e21f6f5ec4187ed63d9e96d44db38928cce454df03acc737ccba5f514", kill_on_drop: false }` [INFO] [stdout] 91306d8e21f6f5ec4187ed63d9e96d44db38928cce454df03acc737ccba5f514