screen-framing 0.3.0

Screen capture.
Build #1496724 2024-11-05 13:59:00

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.84.0-nightly (fbab78289 2024-11-04)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/screen-framing-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/screen-framing-0.3.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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241104-1.84.0-nightly-fbab78289\", \"--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] ab528d8794562ac44e05641110072a1668c651f5e8157fb4de644a8ba8aed774
[INFO] running `Command { std: "docker" "start" "-a" "ab528d8794562ac44e05641110072a1668c651f5e8157fb4de644a8ba8aed774", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: screenshot
[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]     Checking framing v0.6.0
[INFO] [stderr] error[E0700]: hidden type for `impl Iterator<Item = (usize, usize, <T as Image>::Pixel)> + ExactSizeIterator` captures lifetime that does not appear in bounds
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/framing-0.6.0/src/transforms/iter.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 5  |   pub fn iter<'a, T: Image>(frame: &'a T)
[INFO] [stderr]    |               -- hidden type `std::iter::Map<std::ops::Range<usize>, {closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/framing-0.6.0/src/transforms/iter.rs:10:20: 10:28}>` captures the lifetime `'a` as defined here
[INFO] [stderr] 6  |       -> impl Iterator<Item = (usize, usize, T::Pixel)> + ExactSizeIterator
[INFO] [stderr]    |          ------------------------------------------------------------------ opaque type defined here
[INFO] [stderr] ...
[INFO] [stderr] 10 | /     (0..w * h).map(move |i| unsafe {
[INFO] [stderr] 11 | |         let (x, y) = (i % w, i / w);
[INFO] [stderr] 12 | |         (x, y, frame.pixel(i % w, i / w))
[INFO] [stderr] 13 | |     })
[INFO] [stderr]    | |______^
[INFO] [stderr]    |
[INFO] [stderr] help: add a `use<...>` bound to explicitly capture `'a`
[INFO] [stderr]    |
[INFO] [stderr] 6  |     -> impl Iterator<Item = (usize, usize, T::Pixel)> + ExactSizeIterator + use<'a, T>
[INFO] [stderr]    |                                                                           ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0700]: hidden type for `impl rayon::iter::ParallelIterator<Item = (usize, usize, <T as Image>::Pixel)>` captures lifetime that does not appear in bounds
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/framing-0.6.0/src/transforms/iter.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |   pub fn par_iter<'a, T>(frame: &'a T)
[INFO] [stderr]    |                   -- hidden type `rayon::iter::Map<rayon::range::Iter<usize>, {closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/framing-0.6.0/src/transforms/iter.rs:25:36: 25:44}>` captures the lifetime `'a` as defined here
[INFO] [stderr] 18 |       -> impl ParallelIterator<Item = (usize, usize, T::Pixel)>
[INFO] [stderr]    |          ------------------------------------------------------ opaque type defined here
[INFO] [stderr] ...
[INFO] [stderr] 25 | /     (0..w * h).into_par_iter().map(move |i| unsafe {
[INFO] [stderr] 26 | |         let (x, y) = (i % w, i / w);
[INFO] [stderr] 27 | |         (x, y, frame.pixel(i % w, i / w))
[INFO] [stderr] 28 | |     })
[INFO] [stderr]    | |______^
[INFO] [stderr]    |
[INFO] [stderr] help: add a `use<...>` bound to explicitly capture `'a`
[INFO] [stderr]    |
[INFO] [stderr] 18 |     -> impl ParallelIterator<Item = (usize, usize, T::Pixel)> + use<'a, T>
[INFO] [stderr]    |                                                               ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0700`.
[INFO] [stderr] error: could not compile `framing` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "ab528d8794562ac44e05641110072a1668c651f5e8157fb4de644a8ba8aed774", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab528d8794562ac44e05641110072a1668c651f5e8157fb4de644a8ba8aed774", kill_on_drop: false }`
[INFO] [stdout] ab528d8794562ac44e05641110072a1668c651f5e8157fb4de644a8ba8aed774