nickel 0.7.0

An express.js inspired web framework
Build #1272293 2024-06-25T12:54:07.704230+00:00
# rustc version
rustc 1.81.0-nightly (6b0f4b5ec 2024-06-24)# docs.rs version
docsrs 0.6.0 (bb8cd489 2024-06-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/nickel-0.7.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/nickel-0.7.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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240624-1.81.0-nightly-6b0f4b5ec\", \"--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] 08ba6379b027e9949664233f6cf290c089b9a812f23a8b21ed7add3c7a35564a
[INFO] running `Command { std: "docker" "start" "-a" "08ba6379b027e9949664233f6cf290c089b9a812f23a8b21ed7add3c7a35564a", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]     Checking nickel v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `nickel` as a prerequisite for scraping examples from: example "chaining", example "example", example "example_route_data", example "example_template", example "example_with_default_router", example "form_data", example "hello_world", example "macro_example", example "mount", example "moved_ownership"
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (lib) generated 1 warning
[INFO] [stderr]     Scraping nickel v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "form_data" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: failed to scan example "mount" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (example "form_data") generated 1 warning
[INFO] [stderr] warning: failed to scan example "hello_world" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (example "mount") generated 1 warning
[INFO] [stderr] warning: failed to scan example "moved_ownership" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (example "hello_world") generated 1 warning
[INFO] [stderr] warning: `nickel` (example "moved_ownership") generated 1 warning
[INFO] [stderr] warning: failed to scan example "chaining" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (example "chaining") generated 1 warning
[INFO] [stderr] warning: failed to scan example "macro_example" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (example "macro_example") generated 1 warning
[INFO] [stderr] warning: failed to scan example "example_with_default_router" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: failed to scan example "example_route_data" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: failed to scan example "example_template" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (example "example_route_data") generated 1 warning
[INFO] [stderr] warning: `nickel` (example "example_with_default_router") generated 1 warning
[INFO] [stderr] warning: `nickel` (example "example_template") generated 1 warning
[INFO] [stderr] warning: failed to scan example "example" in package `nickel` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `nickel` (example "example") generated 1 warning
[INFO] [stderr]  Documenting nickel v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: `$t:expr` is followed by `{`, which is not allowed for `expr` fragments
[INFO] [stderr]  --> src/mimes.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 |     ($($t:expr { $($name:ident, $as_s:pat, $subt:expr,)+ })+) => (
[INFO] [stderr]   |                ^ not allowed after `expr` fragments
[INFO] [stderr]   |
[INFO] [stderr]   = note: allowed there are: `=>`, `,` or `;`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `url::UrlParser`
[INFO] [stderr]  --> src/query_string.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use url::UrlParser;
[INFO] [stderr]   |     ^^^^^---------
[INFO] [stderr]   |     |    |
[INFO] [stderr]   |     |    help: a similar name exists in the module: `Parser`
[INFO] [stderr]   |     no `UrlParser` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mimes::MediaType`
[INFO] [stderr]   --> src/lib.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub use mimes::MediaType;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ no `MediaType` in `mimes`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mimes::MediaType`
[INFO] [stderr]   --> src/response.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use mimes::MediaType;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ no `MediaType` in `mimes`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing this unresolved item through its public re-export instead
[INFO] [stderr]    |
[INFO] [stderr] 15 | use MediaType;
[INFO] [stderr]    |     ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mimes::MediaType`
[INFO] [stderr]   --> src/responder.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | use mimes::MediaType;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ no `MediaType` in `mimes`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing this unresolved item through its public re-export instead
[INFO] [stderr]    |
[INFO] [stderr] 16 | use MediaType;
[INFO] [stderr]    |     ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mimes::MediaType`
[INFO] [stderr]   --> src/favicon_handler.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use mimes::MediaType;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ no `MediaType` in `mimes`
[INFO] [stderr]    |
[INFO] [stderr] help: consider importing this unresolved item through its public re-export instead
[INFO] [stderr]    |
[INFO] [stderr] 13 | use MediaType;
[INFO] [stderr]    |     ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `nickel`
[INFO] running `Command { std: "docker" "inspect" "08ba6379b027e9949664233f6cf290c089b9a812f23a8b21ed7add3c7a35564a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08ba6379b027e9949664233f6cf290c089b9a812f23a8b21ed7add3c7a35564a", kill_on_drop: false }`
[INFO] [stdout] 08ba6379b027e9949664233f6cf290c089b9a812f23a8b21ed7add3c7a35564a