Build #1637197 2025-01-17 19:03:59
# 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/webframework-0.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/webframework-0.0.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" "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] 87d23c91aa096e825ad03bbd065d233d3c238dc18a5040c24510d71ae79a4118
[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" "87d23c91aa096e825ad03bbd065d233d3c238dc18a5040c24510d71ae79a4118", kill_on_drop: false }`
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr] --> src/error.rs:22:32
[INFO] [stderr] |
[INFO] [stderr] 22 | fn cause(&self) -> Option<&Fail> {
[INFO] [stderr] | ^^^^
[INFO] [stderr] |
[INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr] |
[INFO] [stderr] 22 | fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr] --> src/templates.rs:4:27
[INFO] [stderr] |
[INFO] [stderr] 4 | pub fn error_page(error: &Fail) -> String {
[INFO] [stderr] | ^^^^
[INFO] [stderr] |
[INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr] |
[INFO] [stderr] 4 | pub fn error_page(error: &dyn Fail) -> String {
[INFO] [stderr] | +++
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/error.rs:4:24
[INFO] [stderr] |
[INFO] [stderr] 4 | #[derive(Clone, Debug, Fail)]
[INFO] [stderr] | ^---
[INFO] [stderr] | |
[INFO] [stderr] | `Fail` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ServiceErrorKind`
[INFO] [stderr] 5 | pub enum ServiceErrorKind {
[INFO] [stderr] | ---------------- `ServiceErrorKind` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/error.rs:4:24
[INFO] [stderr] |
[INFO] [stderr] 4 | #[derive(Clone, Debug, Fail)]
[INFO] [stderr] | ^---
[INFO] [stderr] | |
[INFO] [stderr] | `Display` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ServiceErrorKind`
[INFO] [stderr] 5 | pub enum ServiceErrorKind {
[INFO] [stderr] | ---------------- `ServiceErrorKind` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: `webframework` (lib) generated 4 warnings (run `cargo fix --lib -p webframework` to apply 2 suggestions)
[INFO] [stderr] Scraping webframework v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr] Documenting webframework v0.0.2 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/webframework/index.html
[INFO] running `Command { std: "docker" "inspect" "87d23c91aa096e825ad03bbd065d233d3c238dc18a5040c24510d71ae79a4118", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87d23c91aa096e825ad03bbd065d233d3c238dc18a5040c24510d71ae79a4118", kill_on_drop: false }`
[INFO] [stdout] 87d23c91aa096e825ad03bbd065d233d3c238dc18a5040c24510d71ae79a4118