Build #2057923 2025-04-30 09:42:28
# rustc version
rustc 1.88.0-nightly (74509131e 2025-04-29)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/qr_code-2.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/qr_code-2.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "bmp decode" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250429-1.88.0-nightly-74509131e\", \"--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] 31511a91d2c93aaa8b0e0cb9403a097cab0744b0b5566cfa93b93768a98cd01b
[INFO] running `Command { std: "docker" "start" "-a" "31511a91d2c93aaa8b0e0cb9403a097cab0744b0b5566cfa93b93768a98cd01b", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: decode_bmp, encode_bmp, encode_string
[INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr] to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting qr_code v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `bench`
[INFO] [stderr] --> src/lib.rs:15:13
[INFO] [stderr] |
[INFO] [stderr] 15 | #![cfg_attr(feature = "bench", doc(include = "../README.md"))]
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `bmp`, `bmp-monochrome`, `decode`, `fuzz`, and `g2p`
[INFO] [stderr] = help: consider adding `bench` as a feature in `Cargo.toml`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr] --> src/lib.rs:8:9
[INFO] [stderr] |
[INFO] [stderr] 8 | #![deny(warnings)]
[INFO] [stderr] | ^^^^^^^^
[INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]`
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `bench`
[INFO] [stderr] --> src/lib.rs:27:13
[INFO] [stderr] |
[INFO] [stderr] 27 | #![cfg_attr(bench, feature(test))]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `bench`
[INFO] [stderr] --> src/lib.rs:28:7
[INFO] [stderr] |
[INFO] [stderr] 28 | #[cfg(bench)]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `bench`
[INFO] [stderr] --> src/lib.rs:357:7
[INFO] [stderr] |
[INFO] [stderr] 357 | #[cfg(bench)]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `bench`
[INFO] [stderr] --> src/bits.rs:156:7
[INFO] [stderr] |
[INFO] [stderr] 156 | #[cfg(bench)]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `bench`
[INFO] [stderr] --> src/bits.rs:1100:7
[INFO] [stderr] |
[INFO] [stderr] 1100 | #[cfg(bench)]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing`
[INFO] [stderr] --> src/optimize.rs:655:11
[INFO] [stderr] |
[INFO] [stderr] 655 | #[cfg(any(fuzzing, test))]
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `bench`
[INFO] [stderr] --> src/optimize.rs:1147:7
[INFO] [stderr] |
[INFO] [stderr] 1147 | #[cfg(bench)]
[INFO] [stderr] | ^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bench)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition name: `fuzzing`
[INFO] [stderr] --> src/optimize.rs:637:11
[INFO] [stderr] |
[INFO] [stderr] 637 | #[cfg(fuzzing)]
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = help: consider using a Cargo feature instead
[INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr] [lints.rust]
[INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
[INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `img`
[INFO] [stderr] --> src/decode/mod.rs:93:11
[INFO] [stderr] |
[INFO] [stderr] 93 | #[cfg(feature = "img")]
[INFO] [stderr] | ^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: expected values for `feature` are: `arbitrary`, `bmp`, `bmp-monochrome`, `decode`, `fuzz`, and `g2p`
[INFO] [stderr] = help: consider adding `img` as a feature in `Cargo.toml`
[INFO] [stderr] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr] --> src/lib.rs:4:36
[INFO] [stderr] |
[INFO] [stderr] 4 | //! This crate provides a [QrCode](crate::QrCode) encoder and decoder
[INFO] [stderr] | ------ ^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr] | |
[INFO] [stderr] | because label contains path that resolves to same destination
[INFO] [stderr] |
[INFO] [stderr] = note: when a link's destination is not specified,
[INFO] [stderr] the label is used to resolve intra-doc links
[INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` implied by `#[warn(warnings)]`
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr] |
[INFO] [stderr] 4 - //! This crate provides a [QrCode](crate::QrCode) encoder and decoder
[INFO] [stderr] 4 + //! This crate provides a [QrCode] encoder and decoder
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr] --> src/optimize.rs:390:5
[INFO] [stderr] |
[INFO] [stderr] 390 | /// https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm, but considers the nodes and edges in a
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` implied by `#[warn(warnings)]`
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr] |
[INFO] [stderr] 390 | /// <https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm>, but considers the nodes and edges in a
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr] --> src/decode/decode.rs:1:27
[INFO] [stderr] |
[INFO] [stderr] 1 | //! QR decode, taken from https://raw.githubusercontent.com/WanzenBug/rqrr/505c281db1fe4c7d30e3be595ec5a48b2cedebde/src/decode.rs
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr] |
[INFO] [stderr] 1 | //! QR decode, taken from <https://raw.githubusercontent.com/WanzenBug/rqrr/505c281db1fe4c7d30e3be595ec5a48b2cedebde/src/decode.rs>
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: `qr_code` (lib doc) generated 13 warnings (run `cargo fix --lib -p qr_code` to apply 2 suggestions)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/qr_code/index.html
[INFO] running `Command { std: "docker" "inspect" "31511a91d2c93aaa8b0e0cb9403a097cab0744b0b5566cfa93b93768a98cd01b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31511a91d2c93aaa8b0e0cb9403a097cab0744b0b5566cfa93b93768a98cd01b", kill_on_drop: false }`
[INFO] [stdout] 31511a91d2c93aaa8b0e0cb9403a097cab0744b0b5566cfa93b93768a98cd01b