Build #1950521 2025-04-04 05:49:50
# rustc version
rustc 1.88.0-nightly (d5b4c2e4f 2025-04-02)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rusty_backtest-0.0.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rusty_backtest-0.0.3/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250402-1.88.0-nightly-d5b4c2e4f\", \"--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] a7bc5a15efe4a028b6223880521ddc26b061818c3e4bf1453f11b735d2e7fff0
[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" "a7bc5a15efe4a028b6223880521ddc26b061818c3e4bf1453f11b735d2e7fff0", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr] --> src/lib.rs:7:24
[INFO] [stderr] |
[INFO] [stderr] 7 | #[derive(Debug, Clone, Serialize)]
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: no expected values for `feature`
[INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[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: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr] --> src/lib.rs:17:17
[INFO] [stderr] |
[INFO] [stderr] 17 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: no expected values for `feature`
[INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr] --> src/lib.rs:24:17
[INFO] [stderr] |
[INFO] [stderr] 24 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: no expected values for `feature`
[INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr] --> src/lib.rs:29:17
[INFO] [stderr] |
[INFO] [stderr] 29 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: no expected values for `feature`
[INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr] --> src/lib.rs:36:17
[INFO] [stderr] |
[INFO] [stderr] 36 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: no expected values for `feature`
[INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr] --> src/lib.rs:45:17
[INFO] [stderr] |
[INFO] [stderr] 45 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: no expected values for `feature`
[INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr] --> src/lib.rs:57:17
[INFO] [stderr] |
[INFO] [stderr] 57 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: no expected values for `feature`
[INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[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: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/lib.rs:7:24
[INFO] [stderr] |
[INFO] [stderr] 7 | #[derive(Debug, Clone, Serialize)]
[INFO] [stderr] | ^--------
[INFO] [stderr] | |
[INFO] [stderr] | `Serialize` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TradeActionOut`
[INFO] [stderr] 8 | pub struct TradeActionOut {
[INFO] [stderr] | -------------- `TradeActionOut` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/lib.rs:17:17
[INFO] [stderr] |
[INFO] [stderr] 17 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^--------
[INFO] [stderr] | |
[INFO] [stderr] | `Serialize` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TradeActionIn`
[INFO] [stderr] 18 | pub struct TradeActionIn {
[INFO] [stderr] | ------------- `TradeActionIn` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/lib.rs:24:17
[INFO] [stderr] |
[INFO] [stderr] 24 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^--------
[INFO] [stderr] | |
[INFO] [stderr] | `Serialize` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TradeInputResults`
[INFO] [stderr] 25 | pub struct TradeInputResults {
[INFO] [stderr] | ----------------- `TradeInputResults` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/lib.rs:29:17
[INFO] [stderr] |
[INFO] [stderr] 29 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^--------
[INFO] [stderr] | |
[INFO] [stderr] | `Serialize` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BacktestResults`
[INFO] [stderr] 30 | pub struct BacktestResults {
[INFO] [stderr] | --------------- `BacktestResults` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/lib.rs:36:17
[INFO] [stderr] |
[INFO] [stderr] 36 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^--------
[INFO] [stderr] | |
[INFO] [stderr] | `Serialize` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_EnterMarketInfo`
[INFO] [stderr] 37 | pub struct EnterMarketInfo<'a> {
[INFO] [stderr] | --------------- `EnterMarketInfo` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/lib.rs:45:17
[INFO] [stderr] |
[INFO] [stderr] 45 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^--------
[INFO] [stderr] | |
[INFO] [stderr] | `Serialize` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExitMarketInfo`
[INFO] [stderr] 46 | pub struct ExitMarketInfo<'a> {
[INFO] [stderr] | -------------- `ExitMarketInfo` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr] --> src/lib.rs:57:17
[INFO] [stderr] |
[INFO] [stderr] 57 | #[derive(Debug, Serialize)]
[INFO] [stderr] | ^--------
[INFO] [stderr] | |
[INFO] [stderr] | `Serialize` is not local
[INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Portfolio`
[INFO] [stderr] 58 | pub struct Portfolio {
[INFO] [stderr] | --------- `Portfolio` is not local
[INFO] [stderr] |
[INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: `rusty_backtest` (lib) generated 14 warnings
[INFO] [stderr] Scraping rusty_backtest v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr] Documenting rusty_backtest v0.0.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: `rusty_backtest` (lib doc) generated 7 warnings (7 duplicates)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rusty_backtest/index.html
[INFO] running `Command { std: "docker" "inspect" "a7bc5a15efe4a028b6223880521ddc26b061818c3e4bf1453f11b735d2e7fff0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7bc5a15efe4a028b6223880521ddc26b061818c3e4bf1453f11b735d2e7fff0", kill_on_drop: false }`
[INFO] [stdout] a7bc5a15efe4a028b6223880521ddc26b061818c3e4bf1453f11b735d2e7fff0