relearn 0.3.1

A Reinforcement Learning library
Documentation
Build #1815282 2025-02-28 12:31:59

# rustc version rustc 1.87.0-nightly (96cfc7558 2025-02-27)

# docs.rs version docsrs 0.6.0 (d925d3c8 2025-02-27)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/relearn-0.3.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/relearn-0.3.1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "doc-only" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250227-1.87.0-nightly-96cfc7558\", \"--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] 08b50f5ad5570f1b7150cfd2eb0130386c1911685d9794df0c93bfa5b67e9c7e [INFO] running `Command { std: "docker" "start" "-a" "08b50f5ad5570f1b7150cfd2eb0130386c1911685d9794df0c93bfa5b67e9c7e", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: cartpole-dqn, cartpole-trpo, chain-tabular-q [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 relearn v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:6:48 [INFO] [stderr] | [INFO] [stderr] 6 | //! Environments implement the [`Environment`](crate::envs::Environment) trait, which has [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)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 6 - //! Environments implement the [`Environment`](crate::envs::Environment) trait, which has [INFO] [stderr] 6 + //! Environments implement the [`Environment`] trait, which has [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | //! [`spaces`](crate::spaces). [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] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 16 - //! [`spaces`](crate::spaces). [INFO] [stderr] 16 + //! [`spaces`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:18:60 [INFO] [stderr] | [INFO] [stderr] 18 | //! Environment-actor simulation is performed by [`Steps`](crate::simulation::Steps) and the [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] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 18 - //! Environment-actor simulation is performed by [`Steps`](crate::simulation::Steps) and the [INFO] [stderr] 18 + //! Environment-actor simulation is performed by [`Steps`] and the [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:19:24 [INFO] [stderr] | [INFO] [stderr] 19 | //! resulting [`Step`](crate::simulation::Step) are accessible via an `Iterator` interface. [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] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 19 - //! resulting [`Step`](crate::simulation::Step) are accessible via an `Iterator` interface. [INFO] [stderr] 19 + //! resulting [`Step`] are accessible via an `Iterator` interface. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:20:47 [INFO] [stderr] | [INFO] [stderr] 20 | //! Training is performed by [`train_serial`](crate::simulation::train_serial) and [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] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 20 - //! Training is performed by [`train_serial`](crate::simulation::train_serial) and [INFO] [stderr] 20 + //! Training is performed by [`train_serial`] and [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:21:24 [INFO] [stderr] | [INFO] [stderr] 21 | //! [`train_parallel`](crate::simulation::train_parallel). [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] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 21 - //! [`train_parallel`](crate::simulation::train_parallel). [INFO] [stderr] 21 + //! [`train_parallel`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/spaces/mod.rs:86:20 [INFO] [stderr] | [INFO] [stderr] 86 | /// [`PartialOrd`](std::cmp::PartialOrd). In particular, [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] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 86 - /// [`PartialOrd`](std::cmp::PartialOrd). In particular, [INFO] [stderr] 86 + /// [`PartialOrd`]. In particular, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/spaces/mod.rs:89:42 [INFO] [stderr] | [INFO] [stderr] 89 | /// This is distinct from [`PartialOrd`](std::cmp::PartialOrd) so that `SubsetOrd` can be defined [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] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 89 - /// This is distinct from [`PartialOrd`](std::cmp::PartialOrd) so that `SubsetOrd` can be defined [INFO] [stderr] 89 + /// This is distinct from [`PartialOrd`] so that `SubsetOrd` can be defined [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `relearn` (lib doc) generated 8 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/relearn/index.html [INFO] running `Command { std: "docker" "inspect" "08b50f5ad5570f1b7150cfd2eb0130386c1911685d9794df0c93bfa5b67e9c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b50f5ad5570f1b7150cfd2eb0130386c1911685d9794df0c93bfa5b67e9c7e", kill_on_drop: false }` [INFO] [stdout] 08b50f5ad5570f1b7150cfd2eb0130386c1911685d9794df0c93bfa5b67e9c7e