[Pkg-rust-maintainers] Bug#1077952: rust-packed-simd: FTBFS: error[E0557]: feature has been removed

Santiago Vila sanvila at debian.org
Sun Aug 4 23:58:24 BST 2024


Package: src:rust-packed-simd
Version: 0.3.8-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --buildsystem cargo
    dh_update_autotools_config -O--buildsystem=cargo
    dh_autoreconf -O--buildsystem=cargo
    dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
    dh_auto_build -O--buildsystem=cargo
    debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
export RUSTC_BOOTSTRAP=1; \
dh_auto_test
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=2'] [] ['-j2'] 0
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'build', '--verbose', '--verbose', '-j2', '--target', 'x86_64-unknown-linux-gnu'],) {}
    Compiling libm v0.2.7
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libm-0.2.7 CARGO_PKG_AUTHORS='Jorge Aparicio <jorge at japaric.io>' CARGO_PKG_DESCRIPTION='libm in pure Rust' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libm CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libm' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.7 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=7 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libm-0.2.7 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/libm-0.2.7/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=9cd257e5721514e0 -C extra-filename=-9cd257e5721514e0 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libm-9cd257e5721514e0 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
    Compiling packed_simd v0.3.8 (/<<PKGBUILDDIR>>)
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Portable Packed SIMD vectors' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/packed_simd' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=packed_simd CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/packed_simd' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.8 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=101d57fa6e2b6c04 -C extra-filename=-101d57fa6e2b6c04 --out-dir /<<PKGBUILDDIR>>/target/debug/build/packed_simd-101d57fa6e2b6c04 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps`
      Running `CARGO=/usr/bin/cargo CARGO_CFG_OVERFLOW_CHECKS='' CARGO_CFG_PANIC=unwind CARGO_CFG_RELOCATION_MODEL=pic CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_HAS_ATOMIC_EQUAL_ALIGNMENT=16,32,64,8,ptr CARGO_CFG_TARGET_HAS_ATOMIC_LOAD_STORE=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_THREAD_LOCAL='' CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UB_CHECKS='' CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=x86_64-linux-gnu-gcc-Clink-arg=-Wl,-z,relro--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/packed-simd-0.3.8--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libm-0.2.7 CARGO_PKG_AUTHORS='Jorge Aparicio <jorge at japaric.io>' CARGO_PKG_DESCRIPTION='libm in pure Rust' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libm CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libm' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.7 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=7 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/<<PKGBUILDDIR>>/target/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=2 OPT_LEVEL=0 OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libm-b10fea97d696b4b6/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/target/debug/build/libm-9cd257e5721514e0/build-script-build`
[libm 0.2.7] cargo:rerun-if-changed=build.rs
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libm CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libm-0.2.7 CARGO_PKG_AUTHORS='Jorge Aparicio <jorge at japaric.io>' CARGO_PKG_DESCRIPTION='libm in pure Rust' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libm CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libm' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.7 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=7 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libm-0.2.7 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libm-b10fea97d696b4b6/out rustc --crate-name libm --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/libm-0.2.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=2c78f2d0b836095b -C extra-filename=-2c78f2d0b836095b --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/packed-simd-0.3.8 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
      Running `CARGO=/usr/bin/cargo CARGO_CFG_OVERFLOW_CHECKS='' CARGO_CFG_PANIC=unwind CARGO_CFG_RELOCATION_MODEL=pic CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_HAS_ATOMIC_EQUAL_ALIGNMENT=16,32,64,8,ptr CARGO_CFG_TARGET_HAS_ATOMIC_LOAD_STORE=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_THREAD_LOCAL='' CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UB_CHECKS='' CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=x86_64-linux-gnu-gcc-Clink-arg=-Wl,-z,relro--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/packed-simd-0.3.8--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_FEATURE_DEFAULT=1 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Portable Packed SIMD vectors' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/packed_simd' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=packed_simd CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/packed_simd' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.8 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/<<PKGBUILDDIR>>/target/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=2 OPT_LEVEL=0 OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/packed_simd-0d520b282de39092/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/target/debug/build/packed_simd-101d57fa6e2b6c04/build-script-build`
    Compiling cfg-if v1.0.0
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cfg_if CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.0 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A macro to ergonomically define an item depending on a large number of #[cfg]
parameters. Structured like an if-else chain, the first matching branch is the
item that gets emitted.
' CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cfg-if' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cfg-if CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.0 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name cfg_if --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=ad1e6733e173285f -C extra-filename=-ad1e6733e173285f --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/packed-simd-0.3.8 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=packed_simd CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Portable Packed SIMD vectors' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/packed_simd' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=packed_simd CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/packed_simd' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.8 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/packed_simd-0d520b282de39092/out rustc --crate-name packed_simd --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=4b682fb9369975cf -C extra-filename=-4b682fb9369975cf --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern cfg_if=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-ad1e6733e173285f.rmeta --extern libm=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibm-2c78f2d0b836095b.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/packed-simd-0.3.8 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
error[E0557]: feature has been removed
    --> src/lib.rs:218:5
     |
218 |     platform_intrinsics,
     |     ^^^^^^^^^^^^^^^^^^^ feature has been removed
     |
     = note: SIMD intrinsics use the regular intrinsics ABI now

warning: the feature `rustc_attrs` is internal to the compiler or standard library
    --> src/lib.rs:217:5
     |
217 |     rustc_attrs,
     |     ^^^^^^^^^^^
     |
     = note: using it is strongly discouraged
     = note: `#[warn(internal_features)]` on by default

warning: the feature `link_llvm_intrinsics` is internal to the compiler or standard library
    --> src/lib.rs:221:5
     |
221 |     link_llvm_intrinsics,
     |     ^^^^^^^^^^^^^^^^^^^^
     |
     = note: using it is strongly discouraged

warning: the feature `core_intrinsics` is internal to the compiler or standard library
    --> src/lib.rs:222:5
     |
222 |     core_intrinsics,
     |     ^^^^^^^^^^^^^^^
     |
     = note: using it is strongly discouraged

warning: unused import: `self::v16::*`
   --> src/api/cast.rs:93:9
    |
93 | pub use self::v16::*;
    |         ^^^^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

warning: unused import: `self::v32::*`
   --> src/api/cast.rs:96:9
    |
96 | pub use self::v32::*;
    |         ^^^^^^^^^^^^

warning: unused import: `self::v64::*`
   --> src/api/cast.rs:99:9
    |
99 | pub use self::v64::*;
    |         ^^^^^^^^^^^^

warning: unused import: `self::v128::*`
    --> src/api/cast.rs:102:9
     |
102 | pub use self::v128::*;
     |         ^^^^^^^^^^^^^

warning: unused import: `self::v256::*`
    --> src/api/cast.rs:105:9
     |
105 | pub use self::v256::*;
     |         ^^^^^^^^^^^^^

warning: unused import: `self::v512::*`
    --> src/api/cast.rs:108:9
     |
108 | pub use self::v512::*;
     |         ^^^^^^^^^^^^^

error[E0703]: invalid ABI: found `platform-intrinsic`
  --> src/codegen/llvm.rs:9:8
   |
9 | extern "platform-intrinsic" {
   |        ^^^^^^^^^^^^^^^^^^^^ invalid ABI
   |
   = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions.

error[E0703]: invalid ABI: found `platform-intrinsic`
   --> src/codegen/llvm.rs:78:8
    |
78 | extern "platform-intrinsic" {
    |        ^^^^^^^^^^^^^^^^^^^^ invalid ABI
    |
    = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions.

error[E0635]: unknown feature `stdsimd`
    --> src/lib.rs:219:5
     |
219 |     stdsimd,
     |     ^^^^^^^

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:10:5
    |
10 |     pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:11:5
    |
11 |     pub fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:12:5
    |
12 |     pub fn simd_shuffle8<T, U>(x: T, y: T, idx: [u32; 8]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:13:5
    |
13 |     pub fn simd_shuffle16<T, U>(x: T, y: T, idx: [u32; 16]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:14:5
    |
14 |     pub fn simd_shuffle32<T, U>(x: T, y: T, idx: [u32; 32]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:15:5
    |
15 |     pub fn simd_shuffle64<T, U>(x: T, y: T, idx: [u32; 64]) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:79:5
    |
79 |     pub(crate) fn simd_eq<T, U>(x: T, y: T) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:80:5
    |
80 |     pub(crate) fn simd_ne<T, U>(x: T, y: T) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:81:5
    |
81 |     pub(crate) fn simd_lt<T, U>(x: T, y: T) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:82:5
    |
82 |     pub(crate) fn simd_le<T, U>(x: T, y: T) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:83:5
    |
83 |     pub(crate) fn simd_gt<T, U>(x: T, y: T) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:84:5
    |
84 |     pub(crate) fn simd_ge<T, U>(x: T, y: T) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:86:5
    |
86 |     pub(crate) fn simd_insert<T, U>(x: T, idx: u32, val: U) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:87:5
    |
87 |     pub(crate) fn simd_extract<T, U>(x: T, idx: u32) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:89:5
    |
89 |     pub(crate) fn simd_cast<T, U>(x: T) -> U;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:91:5
    |
91 |     pub(crate) fn simd_add<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:92:5
    |
92 |     pub(crate) fn simd_sub<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:93:5
    |
93 |     pub(crate) fn simd_mul<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:94:5
    |
94 |     pub(crate) fn simd_div<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:95:5
    |
95 |     pub(crate) fn simd_rem<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:96:5
    |
96 |     pub(crate) fn simd_shl<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:97:5
    |
97 |     pub(crate) fn simd_shr<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:98:5
    |
98 |     pub(crate) fn simd_and<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
   --> src/codegen/llvm.rs:99:5
    |
99 |     pub(crate) fn simd_or<T>(x: T, y: T) -> T;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
    |
    = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:100:5
     |
100 |     pub(crate) fn simd_xor<T>(x: T, y: T) -> T;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:102:5
     |
102 |     pub(crate) fn simd_reduce_add_unordered<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:103:5
     |
103 |     pub(crate) fn simd_reduce_mul_unordered<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:104:5
     |
104 |     pub(crate) fn simd_reduce_add_ordered<T, U>(x: T, acc: U) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:105:5
     |
105 |     pub(crate) fn simd_reduce_mul_ordered<T, U>(x: T, acc: U) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:106:5
     |
106 |     pub(crate) fn simd_reduce_min<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:107:5
     |
107 |     pub(crate) fn simd_reduce_max<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:108:5
     |
108 |     pub(crate) fn simd_reduce_min_nanless<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:109:5
     |
109 |     pub(crate) fn simd_reduce_max_nanless<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:110:5
     |
110 |     pub(crate) fn simd_reduce_and<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:111:5
     |
111 |     pub(crate) fn simd_reduce_or<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:112:5
     |
112 |     pub(crate) fn simd_reduce_xor<T, U>(x: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:113:5
     |
113 |     pub(crate) fn simd_reduce_all<T>(x: T) -> bool;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:114:5
     |
114 |     pub(crate) fn simd_reduce_any<T>(x: T) -> bool;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:116:5
     |
116 |     pub(crate) fn simd_select<M, T>(m: M, a: T, b: T) -> T;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:118:5
     |
118 |     pub(crate) fn simd_fmin<T>(a: T, b: T) -> T;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:119:5
     |
119 |     pub(crate) fn simd_fmax<T>(a: T, b: T) -> T;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:121:5
     |
121 |     pub(crate) fn simd_fsqrt<T>(a: T) -> T;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:122:5
     |
122 |     pub(crate) fn simd_fma<T>(a: T, b: T, c: T) -> T;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:124:5
     |
124 |     pub(crate) fn simd_gather<T, P, M>(value: T, pointers: P, mask: M) -> T;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:125:5
     |
125 |     pub(crate) fn simd_scatter<T, P, M>(value: T, pointers: P, mask: M);
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

error[E0044]: foreign items may not have type parameters
    --> src/codegen/llvm.rs:127:5
     |
127 |     pub(crate) fn simd_bitmask<T, U>(value: T) -> U;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters
     |
     = help: replace the type parameters with concrete types like `u32`

Some errors have detailed explanations: E0044, E0557, E0635, E0703.
For more information about an error, try `rustc --explain E0044`.
warning: `packed_simd` (lib) generated 9 warnings
error: could not compile `packed_simd` (lib) due to 50 previous errors; 9 warnings emitted

Caused by:
   process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=packed_simd CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Portable Packed SIMD vectors' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/packed_simd' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=packed_simd CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/packed_simd' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.3.8 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=8 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/packed_simd-0d520b282de39092/out rustc --crate-name packed_simd --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=4b682fb9369975cf -C extra-filename=-4b682fb9369975cf --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern cfg_if=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-ad1e6733e173285f.rmeta --extern libm=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibm-2c78f2d0b836095b.rmeta -C debuginfo=2 -C strip=none --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/packed-simd-0.3.8 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make[1]: *** [debian/rules:8: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Pkg-rust-maintainers mailing list