Build #1690538 2025-01-30T16:24:18.233530+00:00
# rustc version
rustc 1.86.0-nightly (ae5de6c75 2025-01-29)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/near-sdk-5.7.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/near-sdk-5.7.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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "unstable legacy unit-testing __macro-docs __abi-generate" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250129-1.86.0-nightly-ae5de6c75\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] bf54d4099a8261c0b704942c4502d0702f3b41227b247e2a8fd1c532522079b4
[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" "bf54d4099a8261c0b704942c4502d0702f3b41227b247e2a8fd1c532522079b4", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Checking near-primitives v0.28.0
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-primitives-0.28.0/src/rand.rs:71:50
[INFO] [stderr] |
[INFO] [stderr] 71 | let uniform_index = usize::from_le_bytes(usize_seed) % self.aliases.len();
[INFO] [stderr] | -------------------- ^^^^^^^^^^ expected an array with a size of 4, found one with a size of 8
[INFO] [stderr] | |
[INFO] [stderr] | arguments to this function are incorrect
[INFO] [stderr] |
[INFO] [stderr] note: associated function defined here
[INFO] [stderr] --> /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/num/mod.rs:1194:5
[INFO] [stderr] |
[INFO] [stderr] 1194 | / uint_impl! {
[INFO] [stderr] 1195 | | Self = usize,
[INFO] [stderr] 1196 | | ActualT = u32,
[INFO] [stderr] 1197 | | SignedT = isize,
[INFO] [stderr] ... |
[INFO] [stderr] 1211 | | bound_condition = " on 32-bit targets",
[INFO] [stderr] 1212 | | }
[INFO] [stderr] | |_____^
[INFO] [stderr] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `near-primitives` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "bf54d4099a8261c0b704942c4502d0702f3b41227b247e2a8fd1c532522079b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf54d4099a8261c0b704942c4502d0702f3b41227b247e2a8fd1c532522079b4", kill_on_drop: false }`
[INFO] [stdout] bf54d4099a8261c0b704942c4502d0702f3b41227b247e2a8fd1c532522079b4