[package - main-armv7-default][devel/rust-analyzer] Failed for rust-analyzer-2024.08.27_1 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Sep 2024 09:43:05 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.
Maintainer: rust@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p0047206c1c4f_s666303f59/logs/rust-analyzer-2024.08.27_1.log
Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p0047206c1c4f_s666303f59
Log:
=>> Building devel/rust-analyzer
build started at Wed Sep 25 09:30:33 UTC 2024
port directory: /usr/ports/devel/rust-analyzer
package name: rust-analyzer-2024.08.27_1
building for: FreeBSD main-armv7-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: rust@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 762 Sep 17 01:02 /usr/ports/devel/rust-analyzer/Makefile
Ports top last git commit: 0047206c1c4
Ports top unclean checkout: no
Port dir last git commit: 89ab81d0e2e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 07
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for rust-analyzer-2024.08.27_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
rust@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work/.cache HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work TMPDIR="/wrkdirs/usr/ports/devel/rust-analyzer/work" PATH=/wrkdirs/usr/ports/devel/rust-analyzer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rust-analyzer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work/.cache HOME=/wrkdirs/usr/ports/devel/rust-analyzer/work TMPDIR="/wrkdirs/usr/ports/devel/rust-analyzer/work" PATH=/wrkdirs/usr/ports/devel/rust-analyzer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rust-analyzer/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_
SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rust-analyzer" EXAMPLESDIR="share/examples/rust-analyzer" DATADIR="share/rust-analyzer" WWWDIR="www/rust-analyzer" ETCDIR="etc/rust-analyzer"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rust-analyzer DOCSDIR=/usr/local/share/doc/rust-analyzer EXAMPLESDIR=/usr/local/share/examples/rust-analyzer WWWDIR=/usr/local/www/rust-analyzer ETCDIR=/usr/local/etc/rust-analyzer
--End SUB_LIST--
---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure. It currently retries the same
# failed mirror and then fails rather then trying another. It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 524288
stack size (kbytes, -s) 65536
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 89999
open files (-n) 8192
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License APACHE20 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> rust-analyzer-2024.08.27_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-07] Installing pkg-1.21.3...
[main-armv7-default-job-07] Extracting pkg-1.21.3: .......... done
===> rust-analyzer-2024.08.27_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of rust-analyzer-2024.08.27_1
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by rust-analyzer-2024.08.27_1 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by rust-analyzer-2024.08.27_1 for building
=> SHA256 Checksum OK for rust/crates/addr2line-0.22.0.crate.
=> SHA256 Checksum OK for rust/crates/adler-1.0.2.crate.
=> SHA256 Checksum OK for rust/crates/always-assert-0.2.0.crate.
=> SHA256 Checksum OK for rust/crates/anyhow-1.0.86.crate.
=> SHA256 Checksum OK for rust/crates/arbitrary-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/arrayvec-0.7.4.crate.
=> SHA256 Checksum OK for rust/crates/autocfg-1.3.0.crate.
=> SHA256 Checksum OK for rust/crates/backtrace-0.3.73.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/bitflags-2.6.0.crate.
=> SHA256 Checksum OK for rust/crates/byteorder-1.5.0.crate.
=> SHA256 Checksum OK for rust/crates/camino-1.1.7.crate.
=> SHA256 Checksum OK for rust/crates/cargo-platform-0.1.8.crate.
=> SHA256 Checksum OK for rust/crates/cargo_metadata-0.18.1.crate.
=> SHA256 Checksum OK for rust/crates/cc-1.1.10.crate.
=> SHA256 Checksum OK for rust/crates/cfg-if-1.0.0.crate.
=> SHA256 Checksum OK for rust/crates/cfg_aliases-0.1.1.crate.
=> SHA256 Checksum OK for rust/crates/chalk-derive-0.98.0.crate.
=> SHA256 Checksum OK for rust/crates/chalk-ir-0.98.0.crate.
=> SHA256 Checksum OK for rust/crates/chalk-recursive-0.98.0.crate.
=> SHA256 Checksum OK for rust/crates/chalk-solve-0.98.0.crate.
=> SHA256 Checksum OK for rust/crates/countme-3.0.1.crate.
=> SHA256 Checksum OK for rust/crates/cov-mark-2.0.0.crate.
=> SHA256 Checksum OK for rust/crates/crc32fast-1.4.2.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-channel-0.5.13.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-deque-0.8.5.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-epoch-0.9.18.crate.
=> SHA256 Checksum OK for rust/crates/crossbeam-utils-0.8.20.crate.
=> SHA256 Checksum OK for rust/crates/ctrlc-3.4.4.crate.
=> SHA256 Checksum OK for rust/crates/dashmap-5.5.3.crate.
=> SHA256 Checksum OK for rust/crates/deranged-0.3.11.crate.
=> SHA256 Checksum OK for rust/crates/derive_arbitrary-1.3.2.crate.
=> SHA256 Checksum OK for rust/crates/directories-5.0.1.crate.
=> SHA256 Checksum OK for rust/crates/dirs-5.0.1.crate.
=> SHA256 Checksum OK for rust/crates/dirs-sys-0.4.1.crate.
=> SHA256 Checksum OK for rust/crates/dissimilar-1.0.9.crate.
=> SHA256 Checksum OK for rust/crates/dot-0.1.4.crate.
=> SHA256 Checksum OK for rust/crates/drop_bomb-0.1.5.crate.
<snip>
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `linux_android`
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0/src/unistd.rs:1411:5
|
1411 | linux_android,
| ^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(linux_android)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux_android)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `solarish`
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0/src/unistd.rs:1412:5
|
1412 | solarish,
| ^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(solarish)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(solarish)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `netbsdlike`
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0/src/unistd.rs:1413:5
|
1413 | netbsdlike,
| ^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(netbsdlike)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(netbsdlike)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `freebsdlike`
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0/src/unistd.rs:3120:5
|
3120 | freebsdlike,
| ^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(freebsdlike)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(freebsdlike)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `bsd`
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0/src/unistd.rs:3642:7
|
3642 | #[cfg(bsd)]
| ^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bsd)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bsd)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
error[E0609]: no field `sigev_notify_thread_id` on type `signal::sigevent::ffi::sigevent`
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0/src/sys/signal.rs:1357:25
|
1357 | sev.sigev_notify_thread_id = thread_id;
| ^^^^^^^^^^^^^^^^^^^^^^ unknown field
|
= note: available fields are: `sigev_notify`, `sigev_signo`, `sigev_value`, `_sigev_un`
Some errors have detailed explanations: E0428, E0609.
For more information about an error, try `rustc --explain E0428`.
warning: `nix` (lib) generated 431 warnings
error: could not compile `nix` (lib) due to 2 previous errors; 431 warnings emitted
Caused by:
process didn't exit successfully: `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=nix CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0 CARGO_PKG_AUTHORS='The nix-rust Project Developers' CARGO_PKG_DESCRIPTION='Rust friendly bindings to *nix APIs' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=nix CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/nix-rust/nix' CARGO_PKG_RUST_VERSION=1.69 CARGO_PKG_VERSION=0.28.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=28 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_WORKSPACE_DIR=/wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/ LD_LIBRARY_PATH=/wrkdirs/usr/ports/devel/rust-analyzer/work/target/release/deps OUT_DIR=/wrkdirs/usr/ports/devel/rust-analyzer/work/target/armv7-unknown-freebsd/release/build/nix-6c3c6d9532957c14/out /usr/local/bin/rustc --crate-name nix --edition=2021 /wrkdirs/
usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/nix-0.28.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="fs"' --cfg 'feature="poll"' --cfg 'feature="process"' --cfg 'feature="signal"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("acct", "aio", "default", "dir", "env", "event", "fanotify", "feature", "fs", "hostname", "inotify", "ioctl", "kmod", "memoffset", "mman", "mount", "mqueue", "net", "personality", "pin-utils", "poll", "process", "pthread", "ptrace", "quota", "reboot", "resource", "sched", "signal", "socket", "term", "time", "ucontext", "uio", "user", "zerocopy"))' -C metadata=98907d724d00d8af -C extra-filename=-98907d724d00d8af --out-dir /wrkdirs/usr/ports/devel/rust-analyzer/work/target/armv7-unknown-freebsd/release/deps --target armv7-unknown-freebsd -C linker=cc -C strip=debuginfo -L dep
endency=/wrkdirs/usr/ports/devel/rust-analyzer/work/target/armv7-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/devel/rust-analyzer/work/target/release/deps --extern bitflags=/wrkdirs/usr/ports/devel/rust-analyzer/work/target/armv7-unknown-freebsd/release/deps/libbitflags-d93948257bffe81c.rmeta --extern cfg_if=/wrkdirs/usr/ports/devel/rust-analyzer/work/target/armv7-unknown-freebsd/release/deps/libcfg_if-0d81acfe3f796fc5.rmeta --extern libc=/wrkdirs/usr/ports/devel/rust-analyzer/work/target/armv7-unknown-freebsd/release/deps/liblibc-d6d26d8482cc3e74.rmeta --cap-lints warn -C target-cpu= -C lto=no -C link-arg=-fstack-protector-strong --cfg freebsd --cfg bsd --cfg freebsdlike` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: field `0` is never read
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/coded_input_stream/input_source.rs:10:11
|
10 | Slice(&'a [u8]),
| ----- ^^^^^^^^
| |
| field in this variant
|
= note: `InputSource` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
10 | Slice(()),
| ~~
warning: method `element_type` is never used
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/acc/v2/map.rs:19:8
|
16 | pub(crate) trait MapFieldAccessor: Send + Sync + 'static {
| ---------------- method in this trait
...
19 | fn element_type(&self) -> (RuntimeType, RuntimeType);
| ^^^^^^^^^^^^
warning: method `element_type` is never used
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/acc/v2/repeated.rs:18:8
|
15 | pub(crate) trait RepeatedFieldAccessor: Send + Sync + 'static {
| --------------------- method in this trait
...
18 | fn element_type(&self) -> RuntimeType;
| ^^^^^^^^^^^^
warning: field `value` is never read
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/dynamic/map.rs:118:5
|
116 | struct DynamicMapIterImpl<'a, K: ProtobufValue + Eq + Hash + 'static> {
| ------------------ field in this struct
117 | iter: hash_map::Iter<'a, K, ReflectValueBox>,
118 | value: &'a RuntimeType,
| ^^^^^
warning: methods `key_type` and `value_type` are never used
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/map/mod.rs:36:8
|
34 | pub(crate) trait ReflectMapIterTrait<'a> {
| ------------------- methods in this trait
35 | fn next(&mut self) -> Option<(ReflectValueRef<'a>, ReflectValueRef<'a>)>;
36 | fn key_type(&self) -> RuntimeType;
| ^^^^^^^^
37 | fn value_type(&self) -> RuntimeType;
| ^^^^^^^^^^
warning: fields `key_type` and `value_type` are never read
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/map/empty.rs:57:5
|
56 | struct DynamicEmptyMapIter {
| ------------------- fields in this struct
57 | key_type: RuntimeType,
| ^^^^^^^^
58 | value_type: RuntimeType,
| ^^^^^^^^^^
warning: field `0` is never read
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/oneof/mod.rs:19:15
|
19 | Generated(&'static GeneratedOneofDescriptor),
| --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
19 | Generated(()),
| ~~
warning: trait `ProtobufTypeDynamic` is never used
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/type_dynamic.rs:14:11
|
14 | pub trait ProtobufTypeDynamic: Send + Sync + 'static {
| ^^^^^^^^^^^^^^^^^^^
warning: struct `ProtobufTypeDynamicImpl` is never constructed
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/type_dynamic.rs:22:19
|
22 | pub(crate) struct ProtobufTypeDynamicImpl<T: ProtobufTypeTrait>(pub marker::PhantomData<T>);
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: associated functions `dynamic`, `compute_size`, `compute_size_with_length_delimiter`, `get_cached_size`, `get_cached_size_with_length_delimiter`, and `write_with_cached_size` are never used
--> /wrkdirs/usr/ports/devel/rust-analyzer/work/rust-analyzer-2024-08-27/cargo-crates/protobuf-3.2.0/src/reflect/types.rs:34:8
|
29 | pub(crate) trait ProtobufTypeTrait: Send + Sync + Clone + Sized + 'static {
| ----------------- associated functions in this trait
...
34 | fn dynamic() -> &'static dyn ProtobufTypeDynamic
| ^^^^^^^
...
51 | fn compute_size(value: &Self::ProtobufValue) -> u64;
| ^^^^^^^^^^^^
...
55 | fn compute_size_with_length_delimiter(value: &Self::ProtobufValue) -> u64 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | fn get_cached_size(value: &Self::ProtobufValue) -> u32 {
| ^^^^^^^^^^^^^^^
...
72 | fn get_cached_size_with_length_delimiter(value: &Self::ProtobufValue) -> u32 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
82 | fn write_with_cached_size(
| ^^^^^^^^^^^^^^^^^^^^^^
warning: `protobuf` (lib) generated 26 warnings
*** Error code 101
Stop.
make: stopped making "build" in /usr/ports/devel/rust-analyzer