memory_logger 0.1.1

A logger that buffers messages in memory, allowing arbitrary flushes
Build #1522985 2024-11-12 01:28:55

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 (143ce0920 2024-11-10)

# docs.rs version docsrs 0.6.0 (36c721fb 2024-11-06)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/memory_logger-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/memory_logger-0.1.1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "blocking asynchronous target" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241110-1.84.0-nightly-143ce0920\", \"--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] 12e4e3b4c9e219f7446164f9e656b84ed13073a9d23370e99659afed34a78230 [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" "12e4e3b4c9e219f7446164f9e656b84ed13073a9d23370e99659afed34a78230", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting memory_logger v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: `std::cell::Cell<bool>` cannot be shared between threads safely [INFO] [stderr] --> src/asynchronous.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | impl Log for Logger { [INFO] [stderr] | ^^^^^^ `std::cell::Cell<bool>` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: within `asynchronous::Logger`, the trait `std::marker::Sync` is not implemented for `std::cell::Cell<bool>` [INFO] [stderr] = note: if you want to do aliasing and mutation between multiple threads, use `std::sync::RwLock` or `std::sync::atomic::AtomicBool` instead [INFO] [stderr] note: required because it appears within the type `flume::Sender<std::boxed::Box<str>>` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.7.2/src/lib.rs:605:12 [INFO] [stderr] | [INFO] [stderr] 605 | pub struct Sender<T> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: required because it appears within the type `asynchronous::Logger` [INFO] [stderr] --> src/asynchronous.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | struct Logger { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: required by a bound in `log::Log` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/log-0.4.22/src/lib.rs:1166:16 [INFO] [stderr] | [INFO] [stderr] 1166 | pub trait Log: Sync + Send { [INFO] [stderr] | ^^^^ required by this bound in `Log` [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not document `memory_logger` [INFO] running `Command { std: "docker" "inspect" "12e4e3b4c9e219f7446164f9e656b84ed13073a9d23370e99659afed34a78230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e4e3b4c9e219f7446164f9e656b84ed13073a9d23370e99659afed34a78230", kill_on_drop: false }` [INFO] [stdout] 12e4e3b4c9e219f7446164f9e656b84ed13073a9d23370e99659afed34a78230