Build #1513616 2024-11-09 21:41:55
# rustc version
rustc 1.84.0-nightly (59cec72a5 2024-11-08)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# 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: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\", \"-20241108-1.84.0-nightly-59cec72a5\", \"--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] 2293e228ae9ff5681a6c9699f60392bf972b7ba87785add6fb4c228349034e8a
[INFO] running `Command { std: "docker" "start" "-a" "2293e228ae9ff5681a6c9699f60392bf972b7ba87785add6fb4c228349034e8a", kill_on_drop: false }`
[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 7 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rusty_backtest/index.html
[INFO] running `Command { std: "docker" "inspect" "2293e228ae9ff5681a6c9699f60392bf972b7ba87785add6fb4c228349034e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2293e228ae9ff5681a6c9699f60392bf972b7ba87785add6fb4c228349034e8a", kill_on_drop: false }`
[INFO] [stdout] 2293e228ae9ff5681a6c9699f60392bf972b7ba87785add6fb4c228349034e8a