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.54.0-nightly (ca82264ec 2021-05-09)
# docs.rs version docsrs 0.6.0 (c2d325f 2021-05-02)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/linux-support-0.0.22/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/linux-support-0.0.22/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" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210509-1.54.0-nightly-ca82264ec" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }` [INFO] [stdout] 851045145db48e6a062453c84bd9842b712383470dcb127efb3360786eec15a6 [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" "851045145db48e6a062453c84bd9842b712383470dcb127efb3360786eec15a6", kill_on_drop: false }` [INFO] [stderr] Checking swiss-army-knife v0.0.17 [INFO] [stderr] error: generic parameters may not be used in const operations [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swiss-army-knife-0.0.17/src/simd_compatibility/x86_64/sse2/_mm_extract_epi8_constant.rs:9:39 [INFO] [stderr] | [INFO] [stderr] 9 | let value_u16 = _mm_extract_epi16(a, imm8 / 2) as u16; [INFO] [stderr] | ^^^^ cannot perform const operation using `imm8` [INFO] [stderr] | [INFO] [stderr] = help: const parameters may only be used as standalone arguments, i.e. `imm8` [INFO] [stderr] = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions [INFO] [stderr] [INFO] [stderr] error: generic parameters may not be used in const operations [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swiss-army-knife-0.0.17/src/simd_compatibility/x86_64/sse2/_mm_lane_crossing_left_shift_upto_64_bits.rs:12:57 [INFO] [stderr] | [INFO] [stderr] 12 | let shift_left_all_64_bit_lanes = _mm_slli_epi64(data, left_shift_number_of_bits as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot perform const operation using `left_shift_number_of_bits` [INFO] [stderr] | [INFO] [stderr] = help: const parameters may only be used as standalone arguments, i.e. `left_shift_number_of_bits` [INFO] [stderr] = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions [INFO] [stderr] [INFO] [stderr] error: generic parameters may not be used in const operations [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swiss-army-knife-0.0.17/src/simd_compatibility/x86_64/sse2/_mm_lane_crossing_left_shift_upto_64_bits.rs:18:81 [INFO] [stderr] | [INFO] [stderr] 18 | let carry_out_of_shift_left = _mm_srli_epi64(data, (MaximumLaneCrossingShift - left_shift_number_of_bits) as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot perform const operation using `left_shift_number_of_bits` [INFO] [stderr] | [INFO] [stderr] = help: const parameters may only be used as standalone arguments, i.e. `left_shift_number_of_bits` [INFO] [stderr] = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions [INFO] [stderr] [INFO] [stderr] error: generic parameters may not be used in const operations [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swiss-army-knife-0.0.17/src/simd_compatibility/x86_64/sse2/_mm_lane_crossing_right_shift_upto_64_bits.rs:12:58 [INFO] [stderr] | [INFO] [stderr] 12 | let shift_right_all_64_bit_lanes = _mm_srli_epi64(data, right_shift_number_of_bits as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot perform const operation using `right_shift_number_of_bits` [INFO] [stderr] | [INFO] [stderr] = help: const parameters may only be used as standalone arguments, i.e. `right_shift_number_of_bits` [INFO] [stderr] = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions [INFO] [stderr] [INFO] [stderr] error: generic parameters may not be used in const operations [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/swiss-army-knife-0.0.17/src/simd_compatibility/x86_64/sse2/_mm_lane_crossing_right_shift_upto_64_bits.rs:18:82 [INFO] [stderr] | [INFO] [stderr] 18 | let carry_out_of_shift_right = _mm_slli_epi64(data, (MaximumLaneCrossingShift - right_shift_number_of_bits) as i32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot perform const operation using `right_shift_number_of_bits` [INFO] [stderr] | [INFO] [stderr] = help: const parameters may only be used as standalone arguments, i.e. `right_shift_number_of_bits` [INFO] [stderr] = help: use `#![feature(const_generics)]` and `#![feature(const_evaluatable_checked)]` to allow generic const expressions [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `swiss-army-knife` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "851045145db48e6a062453c84bd9842b712383470dcb127efb3360786eec15a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851045145db48e6a062453c84bd9842b712383470dcb127efb3360786eec15a6", kill_on_drop: false }` [INFO] [stdout] 851045145db48e6a062453c84bd9842b712383470dcb127efb3360786eec15a6