task-executor 0.1.1

Task Executor A task executor based on tokio or async-std.
Build #624627 2022-09-07 14:08:59

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.65.0-nightly (78a891d36 2022-09-06)

# docs.rs version docsrs 0.6.0 (c4f9e90 2022-09-04)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/task-executor-0.1.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/task-executor-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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220906-1.65.0-nightly-78a891d36\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stdout] b75761b914629d5de4d14fbdc9038e913ab8913537cb8b3df7efde9e3c025118 [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" "b75761b914629d5de4d14fbdc9038e913ab8913537cb8b3df7efde9e3c025118", kill_on_drop: false }` [INFO] [stderr] Documenting task-executor v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0252]: the name `RwLock` is defined multiple times [INFO] [stderr] --> src/exec.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 11 | sync::RwLock, [INFO] [stderr] | ------------ previous import of the type `RwLock` here [INFO] [stderr] ... [INFO] [stderr] 20 | sync::RwLock, [INFO] [stderr] | ^^^^^^^^^^^^ `RwLock` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `RwLock` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 20 | sync::RwLock as OtherRwLock, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `spawn` is defined multiple times [INFO] [stderr] --> src/exec.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 12 | task::{sleep, spawn}, [INFO] [stderr] | ----- previous import of the value `spawn` here [INFO] [stderr] ... [INFO] [stderr] 21 | task::spawn, [INFO] [stderr] | ^^^^^^^^^^^ `spawn` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `spawn` must be defined only once in the value namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 21 | task::spawn as other_spawn, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `sleep` is defined multiple times [INFO] [stderr] --> src/exec.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 12 | task::{sleep, spawn}, [INFO] [stderr] | ----- previous import of the value `sleep` here [INFO] [stderr] ... [INFO] [stderr] 22 | time::{sleep, timeout}, [INFO] [stderr] | ^^^^^ `sleep` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `sleep` must be defined only once in the value namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 22 | time::{sleep as other_sleep, timeout}, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `timeout` is defined multiple times [INFO] [stderr] --> src/exec.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 10 | future::timeout, [INFO] [stderr] | --------------- previous import of the value `timeout` here [INFO] [stderr] ... [INFO] [stderr] 22 | time::{sleep, timeout}, [INFO] [stderr] | ^^^^^^^ `timeout` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `timeout` must be defined only once in the value namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 22 | time::{sleep, timeout as other_timeout}, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `RwLock` is defined multiple times [INFO] [stderr] --> src/local.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 11 | sync::RwLock, [INFO] [stderr] | ------------ previous import of the type `RwLock` here [INFO] [stderr] ... [INFO] [stderr] 20 | sync::RwLock, [INFO] [stderr] | ^^^^^^^^^^^^ `RwLock` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `RwLock` must be defined only once in the type namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 20 | sync::RwLock as OtherRwLock, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `spawn` is defined multiple times [INFO] [stderr] --> src/local.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 12 | task::{sleep, spawn_local as spawn}, [INFO] [stderr] | -------------------- previous import of the value `spawn` here [INFO] [stderr] ... [INFO] [stderr] 21 | task::spawn_local as spawn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `spawn` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `spawn` must be defined only once in the value namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 21 | task::spawn_local as other_spawn, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `sleep` is defined multiple times [INFO] [stderr] --> src/local.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 12 | task::{sleep, spawn_local as spawn}, [INFO] [stderr] | ----- previous import of the value `sleep` here [INFO] [stderr] ... [INFO] [stderr] 22 | time::{sleep, timeout}, [INFO] [stderr] | ^^^^^ `sleep` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `sleep` must be defined only once in the value namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 22 | time::{sleep as other_sleep, timeout}, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error[E0252]: the name `timeout` is defined multiple times [INFO] [stderr] --> src/local.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 10 | future::timeout, [INFO] [stderr] | --------------- previous import of the value `timeout` here [INFO] [stderr] ... [INFO] [stderr] 22 | time::{sleep, timeout}, [INFO] [stderr] | ^^^^^^^ `timeout` reimported here [INFO] [stderr] | [INFO] [stderr] = note: `timeout` must be defined only once in the value namespace of this module [INFO] [stderr] help: you can use `as` to change the binding name of the import [INFO] [stderr] | [INFO] [stderr] 22 | time::{sleep, timeout as other_timeout}, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: Feature "tokio" and "async-std" cannot be enabled at the same time [INFO] [stderr] --> src/lib.rs:109:1 [INFO] [stderr] | [INFO] [stderr] 109 | compile_error!("Feature \"tokio\" and \"async-std\" cannot be enabled at the same time"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Compilation failed, aborting rustdoc [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0252`. [INFO] [stderr] error: could not document `task-executor` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name task_executor src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="async-std"' --cfg 'feature="async_std_1"' --cfg 'feature="default"' --cfg 'feature="rate"' --cfg 'feature="tokio"' --cfg 'feature="tokio_1"' --cfg 'feature="update_rate"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=d1b1ae47f5e88219 -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ahash=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libahash-75198f66ae2c4af5.rmeta --extern async_std_1=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libasync_std-c084ca639d27e826.rmeta --extern chrono=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libchrono-8ff044ceccad4b97.rmeta --extern dashmap=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libdashmap-f7b2608f7336c4dc.rmeta --extern futures=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libfutures-cc7bbcdc87e0d668.rmeta --extern log=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/liblog-222bef96b9962693.rmeta --extern thiserror=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libthiserror-adc47fd6540c4d8c.rmeta --extern tokio_1=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtokio-13a6e89bdc407033.rmeta --extern update_rate=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libupdate_rate-f6673ad705a261e8.rmeta --extern-html-root-url 'ahash=https://docs.rs/ahash/0.8.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'async_std=https://docs.rs/async-std/1.12.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'chrono=https://docs.rs/chrono/0.4.22/x86_64-unknown-linux-gnu' --extern-html-root-url 'dashmap=https://docs.rs/dashmap/5.4.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'futures=https://docs.rs/futures/0.3.24/x86_64-unknown-linux-gnu' --extern-html-root-url 'log=https://docs.rs/log/0.4.17/x86_64-unknown-linux-gnu' --extern-html-root-url 'thiserror=https://docs.rs/thiserror/1.0.34/x86_64-unknown-linux-gnu' --extern-html-root-url 'tokio=https://docs.rs/tokio/1.21.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'update_rate=https://docs.rs/update_rate/2.0.1/x86_64-unknown-linux-gnu' -Zunstable-options --cfg docsrs -Z unstable-options --emit=invocation-specific --resource-suffix -20220906-1.65.0-nightly-78a891d36 --static-root-path / --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.1.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "b75761b914629d5de4d14fbdc9038e913ab8913537cb8b3df7efde9e3c025118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b75761b914629d5de4d14fbdc9038e913ab8913537cb8b3df7efde9e3c025118", kill_on_drop: false }` [INFO] [stdout] b75761b914629d5de4d14fbdc9038e913ab8913537cb8b3df7efde9e3c025118