githubapi 0.1.0

Easy to use, strongly typed GitHub API consumer.
Documentation
Build #2405024 2025-08-11 06:54:35

# rustc version rustc 1.91.0-nightly (c8ca44c98 2025-08-10)

# docs.rs version docsrs 0.6.0 (e18d034e 2025-07-29)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/githubapi-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/githubapi-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--output-format\", \"json\", \"--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] 279a00963340b446401899ca2690819628a0c00460955151a1c84301f6fb675b [INFO] running `Command { std: "docker" "start" "-a" "279a00963340b446401899ca2690819628a0c00460955151a1c84301f6fb675b", kill_on_drop: false }` [INFO] [stderr] warning: enum `OpenClosed` is never used [INFO] [stderr] --> src/types.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | pub enum OpenClosed { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | First(u64), [INFO] [stderr] | ----- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Pagination` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 55 - First(u64), [INFO] [stderr] 55 + First(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | Previous(u64), [INFO] [stderr] | -------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Pagination` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 56 - Previous(u64), [INFO] [stderr] 56 + Previous(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/types.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | Last(u64), [INFO] [stderr] | ---- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Pagination` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 58 - Last(u64), [INFO] [stderr] 58 + Last(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/types.rs:59:15 [INFO] [stderr] | [INFO] [stderr] 59 | Undefined(String, u64), [INFO] [stderr] | --------- ^^^^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Pagination` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 59 - Undefined(String, u64), [INFO] [stderr] 59 + Undefined((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/macros.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 95 | ) -> $paginator_name { [INFO] [stderr] | --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 88 | make_paginated_api!(get_tags, get_tags_page, "tags", TagPaginator, TagsResponse); [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `make_paginated_api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 95 | ) -> $paginator_name<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/macros.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 95 | ) -> $paginator_name { [INFO] [stderr] | --------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:91:1 [INFO] [stderr] | [INFO] [stderr] 91 | / make_paginated_api!( [INFO] [stderr] 92 | | get_releases, [INFO] [stderr] 93 | | get_releases_page, [INFO] [stderr] 94 | | "releases", [INFO] [stderr] 95 | | ReleasePaginator, [INFO] [stderr] 96 | | ReleasesResponse [INFO] [stderr] 97 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `make_paginated_api` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 95 | ) -> $paginator_name<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `githubapi` (lib) generated 7 warnings (run `cargo fix --lib -p githubapi` to apply 2 suggestions) [INFO] [stderr] Scraping githubapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting githubapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "279a00963340b446401899ca2690819628a0c00460955151a1c84301f6fb675b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "279a00963340b446401899ca2690819628a0c00460955151a1c84301f6fb675b", kill_on_drop: false }` [INFO] [stdout] 279a00963340b446401899ca2690819628a0c00460955151a1c84301f6fb675b