[Pkg-rust-maintainers] Bug#976584: rust-generator: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
Lucas Nussbaum
lucas at debian.org
Sat Dec 5 13:28:17 GMT 2020
Source: rust-generator
Version: 0.6.20-2
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- test --all
> debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
> debian cargo wrapper: rust_type, gnu_type: aarch64-unknown-linux-gnu, aarch64-linux-gnu
> debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j4', '--target', 'aarch64-unknown-linux-gnu', '--all'],) {}
> Compiling semver-parser v0.7.0
> Compiling cc v1.0.59
> Compiling log v0.4.11
> Compiling libc v0.2.80
> Running `CARGO_PKG_VERSION_PATCH=59 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cc-rs' CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='A build-time dependency for Cargo build scripts to assist in invoking the native
> C compiler to compile native C code into a static archive to be linked into Rust
> code.
> ' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cc-1.0.59 CARGO_PKG_VERSION_MINOR=0 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=cc CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cc-rs' CARGO_PKG_VERSION=1.0.59 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' rustc --crate-name cc --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/cc-1.0.59/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=76d2d9105e7ad0f7 -C extra-filename=-76d2d9105e7ad0f7 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO_PKG_VERSION_PATCH=0 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/steveklabnik/semver-parser' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Parsing of the semver spec.
> ' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/semver-parser-0.7.0 CARGO_PKG_VERSION_MINOR=7 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=semver-parser CARGO_PKG_REPOSITORY='https://github.com/steveklabnik/semver-parser' CARGO_PKG_VERSION=0.7.0 CARGO_PKG_AUTHORS='Steve Klabnik <steve at steveklabnik.com>' rustc --crate-name semver_parser /<<PKGBUILDDIR>>/debian/cargo_registry/semver-parser-0.7.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=7a13e3131f74870c -C extra-filename=-7a13e3131f74870c --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO_PKG_VERSION_PATCH=11 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='A lightweight logging facade for Rust
> ' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11 CARGO_PKG_VERSION_MINOR=4 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=log CARGO_PKG_REPOSITORY='https://github.com/rust-lang/log' CARGO_PKG_VERSION=0.4.11 CARGO_PKG_AUTHORS='The Rust Project Developers' rustc --crate-name build_script_build /<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=2623eb5ccdae905f -C extra-filename=-2623eb5ccdae905f --out-dir /<<PKGBUILDDIR>>/target/debug/build/log-2623eb5ccdae905f -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO_PKG_VERSION_PATCH=80 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.80 CARGO_PKG_VERSION_MINOR=2 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_VERSION=0.2.80 CARGO_PKG_AUTHORS='The Rust Project Developers' rustc --crate-name build_script_build /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.80/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=85459b4ed7e16b66 -C extra-filename=-85459b4ed7e16b66 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libc-85459b4ed7e16b66 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-parser-0.7.0/src/version.rs:75:9
> |
> 75 | try!(write!(f, "{}.{}.{}", self.major, self.minor, self.patch));
> | ^^^
> |
> = note: `#[warn(deprecated)]` on by default
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-parser-0.7.0/src/version.rs:79:13
> |
> 79 | try!(write!(f, "-{}", strs.join(".")));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-parser-0.7.0/src/version.rs:84:13
> |
> 84 | try!(write!(f, "+{}", strs.join(".")));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-parser-0.7.0/src/range.rs:184:22
> |
> 184 | let predicates = try!(predicates);
> | ^^^
>
> Compiling cfg-if v0.1.10
> Running `CARGO_PKG_VERSION_PATCH=10 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cfg-if' CARGO_PKG_VERSION_MAJOR=0 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_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-0.1.10 CARGO_PKG_VERSION_MINOR=1 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=cfg-if CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_VERSION=0.1.10 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' rustc --crate-name cfg_if --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-0.1.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=e016c26d5b3f43c4 -C extra-filename=-e016c26d5b3f43c4 --out-dir /<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=aarch64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/generator-0.6.20`
> Compiling semver v0.9.0
> Running `CARGO_PKG_VERSION_PATCH=0 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://docs.rs/crate/semver/' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Semantic version parsing and comparison.
> ' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0 CARGO_PKG_VERSION_MINOR=9 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=semver CARGO_PKG_REPOSITORY='https://github.com/steveklabnik/semver' CARGO_PKG_VERSION=0.9.0 CARGO_PKG_AUTHORS='Steve Klabnik <steve at steveklabnik.com>:The Rust Project Developers' rustc --crate-name semver /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="default"' -C metadata=d0085eeb81451fbe -C extra-filename=-d0085eeb81451fbe --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern semver_parser=/<<PKGBUILDDIR>>/target/debug/deps/libsemver_parser-7a13e3131f74870c.rmeta --cap-lints warn`
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version.rs:271:9
> |
> 271 | try!(write!(f, "{}.{}.{}", self.major, self.minor, self.patch));
> | ^^^
> |
> = note: `#[warn(deprecated)]` on by default
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version.rs:273:13
> |
> 273 | try!(write!(f, "-"));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version.rs:276:21
> |
> 276 | try!(write!(f, "."))
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version.rs:278:17
> |
> 278 | try!(write!(f, "{}", x));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version.rs:282:13
> |
> 282 | try!(write!(f, "+"));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version.rs:285:21
> |
> 285 | try!(write!(f, "."))
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version.rs:287:17
> |
> 287 | try!(write!(f, "{}", x));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:492:13
> |
> 492 | try!(write!(fmt, "*"));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:496:21
> |
> 496 | try!(write!(fmt, "{}", pred));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:498:21
> |
> 498 | try!(write!(fmt, ", {}", pred));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:510:32
> |
> 510 | Wildcard(Major) => try!(write!(fmt, "*")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:511:32
> |
> 511 | Wildcard(Minor) => try!(write!(fmt, "{}.*", self.major)),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:514:21
> |
> 514 | try!(write!(fmt, "{}.{}.*", self.major, minor))
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:516:21
> |
> 516 | try!(write!(fmt, "{}.*.*", self.major))
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:520:17
> |
> 520 | try!(write!(fmt, "{}{}", self.op, self.major));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:523:32
> |
> 523 | Some(v) => try!(write!(fmt, ".{}", v)),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:528:32
> |
> 528 | Some(v) => try!(write!(fmt, ".{}", v)),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:533:21
> |
> 533 | try!(write!(fmt, "-"));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:536:29
> |
> 536 | ... try!(write!(fmt, "."))
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:538:25
> |
> 538 | try!(write!(fmt, "{}", x));
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:551:19
> |
> 551 | Ex => try!(write!(fmt, "= ")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:552:19
> |
> 552 | Gt => try!(write!(fmt, "> ")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:553:21
> |
> 553 | GtEq => try!(write!(fmt, ">= ")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:554:19
> |
> 554 | Lt => try!(write!(fmt, "< ")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:555:21
> |
> 555 | LtEq => try!(write!(fmt, "<= ")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:556:22
> |
> 556 | Tilde => try!(write!(fmt, "~")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:557:27
> |
> 557 | Compatible => try!(write!(fmt, "^")),
> | ^^^
>
> warning: use of deprecated macro `try`: use the `?` operator instead
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:559:28
> |
> 559 | Wildcard(_) => try!(write!(fmt, "")),
> | ^^^
>
> warning: unused import: `std::result`
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:13:5
> |
> 13 | use std::result;
> | ^^^^^^^^^^^
> |
> = note: `#[warn(unused_imports)]` on by default
>
> warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/semver-0.9.0/src/version_req.rs:165:14
> |
> 165 | self.description().fmt(f)
> | ^^^^^^^^^^^
>
> Running `/<<PKGBUILDDIR>>/target/debug/build/log-2623eb5ccdae905f/build-script-build`
> [log 0.4.11] cargo:rustc-cfg=atomic_cas
> [log 0.4.11] cargo:rerun-if-changed=build.rs
> Running `/<<PKGBUILDDIR>>/target/debug/build/libc-85459b4ed7e16b66/build-script-build`
> [libc 0.2.80] cargo:rustc-cfg=freebsd11
> [libc 0.2.80] cargo:rustc-cfg=libc_priv_mod_use
> [libc 0.2.80] cargo:rustc-cfg=libc_union
> [libc 0.2.80] cargo:rustc-cfg=libc_const_size_of
> [libc 0.2.80] cargo:rustc-cfg=libc_align
> [libc 0.2.80] cargo:rustc-cfg=libc_core_cvoid
> [libc 0.2.80] cargo:rustc-cfg=libc_packedN
> [libc 0.2.80] cargo:rustc-cfg=libc_cfg_target_vendor
> Running `CARGO_PKG_VERSION_PATCH=11 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_MAJOR=0 OUT_DIR=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/build/log-50fae3e33baff0fc/out CARGO_PKG_DESCRIPTION='A lightweight logging facade for Rust
> ' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11 CARGO_PKG_VERSION_MINOR=4 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=log CARGO_PKG_REPOSITORY='https://github.com/rust-lang/log' CARGO_PKG_VERSION=0.4.11 CARGO_PKG_AUTHORS='The Rust Project Developers' rustc --crate-name log /<<PKGBUILDDIR>>/debian/cargo_registry/log-0.4.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=7aeb431daa7c227e -C extra-filename=-7aeb431daa7c227e --out-dir /<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern cfg_if=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps/libcfg_if-e016c26d5b3f43c4.rmeta --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=aarch64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/generator-0.6.20 --cfg atomic_cas`
> warning: 4 warnings emitted
>
> Running `CARGO_PKG_VERSION_PATCH=80 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_VERSION_MAJOR=0 OUT_DIR=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/build/libc-82c23770cc1bd924/out CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.80 CARGO_PKG_VERSION_MINOR=2 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=libc CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_VERSION=0.2.80 CARGO_PKG_AUTHORS='The Rust Project Developers' rustc --crate-name libc /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.80/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=f2e56dc8bad8cfa8 -C extra-filename=-f2e56dc8bad8cfa8 --out-dir /<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/aarch64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 --cap-lints warn -C linker=aarch64-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /<<PKGBUILDDIR>>=/usr/share/cargo/registry/generator-0.6.20 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor`
> Compiling rustc_version v0.2.3
> Running `CARGO_PKG_VERSION_PATCH=3 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE= CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='A library for querying the version of a installed rustc compiler' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3 CARGO_PKG_VERSION_MINOR=2 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=rustc_version CARGO_PKG_REPOSITORY='https://github.com/Kimundi/rustc-version-rs' CARGO_PKG_VERSION=0.2.3 CARGO_PKG_AUTHORS='Marvin Löbel <loebel.marvin at gmail.com>' rustc --crate-name rustc_version /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=9341e9e1409f93d0 -C extra-filename=-9341e9e1409f93d0 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern semver=/<<PKGBUILDDIR>>/target/debug/deps/libsemver-d0085eeb81451fbe.rmeta --cap-lints warn`
> warning: trait objects without an explicit `dyn` are deprecated
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/errors.rs:37:32
> |
> 37 | fn cause(&self) -> Option<&error::Error> {
> | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
> |
> = note: `#[warn(bare_trait_objects)]` on by default
>
> warning: 30 warnings emitted
>
> warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/errors.rs:26:71
> |
> 26 | CouldNotExecuteCommand(ref e) => write!(f, "{}: {}", self.description(), e),
> | ^^^^^^^^^^^
> |
> = note: `#[warn(deprecated)]` on by default
>
> warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/errors.rs:27:50
> |
> 27 | Utf8Error(_) => write!(f, "{}", self.description()),
> | ^^^^^^^^^^^
>
> warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/errors.rs:28:61
> |
> 28 | UnexpectedVersionFormat => write!(f, "{}", self.description()),
> | ^^^^^^^^^^^
>
> warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/errors.rs:29:62
> |
> 29 | ReqParseError(ref e) => write!(f, "{}: {}", self.description(), e),
> | ^^^^^^^^^^^
>
> warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/errors.rs:30:60
> |
> 30 | SemVerError(ref e) => write!(f, "{}: {}", self.description(), e),
> | ^^^^^^^^^^^
>
> warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/rustc_version-0.2.3/src/errors.rs:31:69
> |
> 31 | UnknownPreReleaseTag(ref i) => write!(f, "{}: {}", self.description(), i),
> | ^^^^^^^^^^^
>
> warning: 7 warnings emitted
>
> Compiling generator v0.6.20 (/<<PKGBUILDDIR>>)
> Running `CARGO_PKG_VERSION_PATCH=20 LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' CARGO_PKG_HOMEPAGE='https://github.com/Xudong-Huang/generator-rs.git' CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Stackfull Generator Library in Rust' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_VERSION_MINOR=6 CARGO=/usr/bin/cargo CARGO_PKG_VERSION_PRE= CARGO_PKG_NAME=generator CARGO_PKG_REPOSITORY='https://github.com/Xudong-Huang/generator-rs.git' CARGO_PKG_VERSION=0.6.20 CARGO_PKG_AUTHORS='Xudong Huang <huangxu008 at hotmail.com>' rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=3e60382a6fa3e28d -C extra-filename=-3e60382a6fa3e28d --out-dir /<<PKGBUILDDIR>>/target/debug/build/generator-3e60382a6fa3e28d -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern cc=/<<PKGBUILDDIR>>/target/debug/deps/libcc-76d2d9105e7ad0f7.rlib --extern rustc_version=/<<PKGBUILDDIR>>/target/debug/deps/librustc_version-9341e9e1409f93d0.rlib`
> Running `/<<PKGBUILDDIR>>/target/debug/build/generator-3e60382a6fa3e28d/build-script-build`
> [generator 0.6.20] thread 'main' panicked at 'Unsupported architecture: aarch64-unknown-linux-gnu', build.rs:30:13
> [generator 0.6.20] stack backtrace:
> [generator 0.6.20] 0: rust_begin_unwind
> [generator 0.6.20] 1: std::panicking::begin_panic_fmt
> [generator 0.6.20] 2: build_script_build::main
> [generator 0.6.20] at ./build.rs:30
> [generator 0.6.20] 3: core::ops::function::FnOnce::call_once
> [generator 0.6.20] at /usr/src/rustc-1.48.0/library/core/src/ops/function.rs:227
> [generator 0.6.20] note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
> error: failed to run custom build command for `generator v0.6.20 (/<<PKGBUILDDIR>>)`
>
> Caused by:
> process didn't exit successfully: `/<<PKGBUILDDIR>>/target/debug/build/generator-3e60382a6fa3e28d/build-script-build` (exit code: 101)
> --- stderr
> thread 'main' panicked at 'Unsupported architecture: aarch64-unknown-linux-gnu', build.rs:30:13
> stack backtrace:
> 0: rust_begin_unwind
> 1: std::panicking::begin_panic_fmt
> 2: build_script_build::main
> at ./build.rs:30
> 3: core::ops::function::FnOnce::call_once
> at /usr/src/rustc-1.48.0/library/core/src/ops/function.rs:227
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
>
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
The full build log is available from:
http://qa-logs.debian.net/2020/12/05/rust-generator_0.6.20-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-rust-maintainers
mailing list