You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.70.0 version does not support the required version of env_logger. Check if we can get rid of the anstream feature.
Or better yet, maybe we can get rid of the env_logger dependency somehow.
* installing *source* package ‘tergo’ ...
** package ‘tergo’ successfully unpacked and MD5 sums checked
** using staged installation
*** Checking if cargo is installed
*** Cargo, rustup and rustc are installed
Found vendored dependencies
using Rust package manager: 'cargo 1.70.0 (ec8a8a0ca 2023-04-25)'
using Rust compiler: 'rustc 1.70.0 (90c541806 2023-05-31)'
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
rm -Rf tergo.so entrypoint.o ./rust/.cargo ./rust/target//release/libtergo.a
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c entrypoint.c -o entrypoint.o
# vendoring (Note: to avoid NOTE of "Found the following hidden files and
# directories", .cargo needs to be created here)
if [ "yes" = "yes" ]; then \
/usr/bin/tar --extract --xz -f ./rust/vendor.tar.xz -C ./rust && \
mkdir -p ./rust/.cargo && \
cp ./cargo_vendor_config.toml ./rust/.cargo/config.toml; \
fi
. "/Users/urbanek/.cargo/env" && export CARGO_HOME="/Volumes/Builds/packages/big-sur-x86_64/results/4.4/tergo.Rcheck/00_pkg_src/tergo/src/.cargo" && cd ./rust && cargo build --jobs 1 --lib --release --offline; \
rm -Rf /Volumes/Builds/packages/big-sur-x86_64/results/4.4/tergo.Rcheck/00_pkg_src/tergo/src/.cargo ./rust/target//release/build
warning: a `-j` argument was passed to Cargo but Cargo is also configured with an external jobserver in its environment, ignoring the `-j` parameter
error: failed to select a version for `env_logger`.
... required by package `tergo-lib v0.2.8`
... which satisfies dependency `tergo-lib = "^0.2.8"` (locked to 0.2.8) of package `tergo v0.1.2 (/Volumes/Builds/packages/big-sur-x86_64/results/4.4/tergo.Rcheck/00_pkg_src/tergo/src/rust)`
versions that meet the requirements `^0.11.3` (locked to 0.11.5) are: 0.11.5
the package `tergo-lib` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
failed to select a version for `env_logger` which could resolve this conflict
clang -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o tergo.so entrypoint.o -L./rust/target//release -ltergo -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L./rust/target//release'
ld: library not found for -ltergo
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [tergo.so] Error 1
ERROR: compilation failed for package ‘tergo’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.4/tergo.Rcheck/tergo’
The text was updated successfully, but these errors were encountered:
1.70.0 version does not support the required version of env_logger. Check if we can get rid of the
anstream
feature.Or better yet, maybe we can get rid of the env_logger dependency somehow.
The text was updated successfully, but these errors were encountered: