Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 766474 Details for
Bug 832584
gnome-base/librsvg-2.52.5 fails to build with rust 1.58
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
librsvg-2.52.6 build log
gnome-base:librsvg-2.52.6:20220307-112126.log (text/x-log), 207.97 KB, created by
Saul Peebsen
on 2022-03-07 11:52:56 UTC
(
hide
)
Description:
librsvg-2.52.6 build log
Filename:
MIME Type:
Creator:
Saul Peebsen
Created:
2022-03-07 11:52:56 UTC
Size:
207.97 KB
patch
obsolete
>[32m * [39;49;00mPackage: gnome-base/librsvg-2.52.6 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: gnome@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking librsvg-2.52.6.tar.xz to /var/tmp/portage/gnome-base/librsvg-2.52.6/work >>>> Source unpacked in /var/tmp/portage/gnome-base/librsvg-2.52.6/work >>>> Preparing source in /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6 ... > [32m*[0m Disabling deprecation warnings ... >[A[132C [34;01m[ [32;01mok[34;01m ][0m > * Running elibtoolize in: librsvg-2.52.6/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.4.3 patch ... > * Applying specs/2.4.6 patch ... > * Applying fsanitize/2.4.6 patch ... > * Applying fuse-ld/2.4.6 patch ... > * Applying static-flags/2.4.6 patch ... > * Applying ppc64le/2.4.4 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6 ... > [32m*[0m abi_x86_64.amd64: running multilib-minimal_abi_src_configure > * econf: updating librsvg-2.52.6/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating librsvg-2.52.6/config.guess with /usr/share/gnuconfig/config.guess >/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/librsvg-2.52.6 --htmldir=/usr/share/doc/librsvg-2.52.6/html --libdir=/usr/lib64 --disable-gtk-doc --disable-maintainer-mode --disable-static --disable-debug --disable-introspection --disable-vala --enable-pixbuf-loader >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether UID '250' is supported by ustar format... yes >checking whether GID '250' is supported by ustar format... yes >checking how to create a ustar tar archive... gnutar >checking whether make supports nested variables... (cached) yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking whether ln -s works... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for gawk... (cached) gawk >checking for library containing strerror... none required >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking whether byte ordering is bigendian... no >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking for a sed that does not truncate output... /bin/sed >checking for fgrep... /bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... no >checking for a working dd... /bin/dd >checking how to truncate binary pipes... /bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking for cos in -lm... yes >checking for dlopen... yes >checking for x86_64-pc-linux-gnu-cargo... no >checking for cargo... cargo >checking for x86_64-pc-linux-gnu-rustc... no >checking for rustc... rustc >checking platform... POSIX >checking for LIBRSVG... yes >checking for GTHREAD... yes >checking for GMODULE... yes >checking for RSVG_CONVERT... yes >checking whether to build the GDK-Pixbuf SVG loader... yes >checking for GDK_PIXBUF... yes >checking for gdk-pixbuf-query-loaders... /usr/bin/gdk-pixbuf-query-loaders >checking if x86_64-pc-linux-gnu-gcc supports "-Wl,-Bsymbolic-functions" flag... yes >checking for gtk-doc... no >configure: WARNING: > You will not be able to create source packages with 'make dist' > because gtk-doc >= 1.13 is not found. >checking for gtkdoc-check... no >checking for gtkdoc-check... no >checking for gtkdoc-rebase... no >checking for gtkdoc-mkpdf... no >checking whether to build gtk-doc documentation... no >checking for GTKDOC_DEPS... yes >checking whether to build Rust code with debugging information... no >checking for gobject-introspection... no (disabled, use --enable-introspection to enable) >checking for x86_64-pc-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for vala... no >checking locale.h usability... yes >checking locale.h presence... yes >checking for locale.h... yes >checking for LC_MESSAGES... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating include/librsvg/rsvg-version.h >config.status: creating Makefile >config.status: creating librsvg-zip >config.status: creating gdk-pixbuf-loader/Makefile >config.status: creating tests/Makefile >config.status: creating doc/Makefile >config.status: creating doc/version.xml >config.status: creating win32/Makefile >config.status: creating win32/config.h.win32 >config.status: creating win32/config-msvc.mak >config.status: creating librsvg-2.0.pc >config.status: creating config.h >config.status: executing depfiles commands >config.status: executing libtool commands > >librsvg-2.52.6 > > prefix: /usr > C compiler: x86_64-pc-linux-gnu-gcc > rustc: rustc 1.59.0 (gentoo) > > Cairo version: 1.16.0 > Pango version: 1.50.5 > Freetype version: 24.1.18 > Harfbuzz version: 4.0.0 > > Debugging information for Rust: no > > Build introspectable bindings: no (disabled, use --enable-introspection to enable) > Build Vala bindings: no > Build GdkPixbuf loader: yes > Build HTML documentation: no > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6 ... > [32m*[0m abi_x86_64.amd64: running multilib-minimal_abi_src_compile >make -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64' >Making all in . >make[2]: Entering directory '/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64' >/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6 -march=native -O2 -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -c -o _rsvg_dummy.lo /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/_rsvg_dummy.c >libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6 -march=native -O2 -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -c /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/_rsvg_dummy.c -fPIC -DPIC -o .libs/_rsvg_dummy.o >cd /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6 && \ >PKG_CONFIG_ALLOW_CROSS=1 \ >PKG_CONFIG='/usr/bin/x86_64-pc-linux-gnu-pkg-config' \ >CARGO_TARGET_DIR=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target \ >cargo --locked build --verbose --release --lib \ >&& cd /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64 && /bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fgraphite-identity -floop-interchange -floop-strip-mine -floop-block -Wl,-O1 -Wl,--as-needed -o librsvg_c_api.la _rsvg_dummy.lo && mv /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/liblibrsvg.a .libs/librsvg_c_api.a > Compiling proc-macro2 v1.0.36 > Compiling unicode-xid v0.2.2 > Compiling syn v1.0.86 > Compiling libc v0.2.118 > Compiling serde v1.0.136 > Compiling smallvec v1.8.0 > Compiling pkg-config v0.3.24 > Compiling anyhow v1.0.53 > Running `rustc --crate-name build_script_build --edition=2018 /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=0598623352f7d85b -C extra-filename=-0598623352f7d85b --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/build/proc-macro2-0598623352f7d85b -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` > Running `rustc --crate-name build_script_build --edition=2018 /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=1ddaefd8dec4ebc0 -C extra-filename=-1ddaefd8dec4ebc0 --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/build/syn-1ddaefd8dec4ebc0 -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` > Running `rustc --crate-name unicode_xid /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/unicode-xid/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 debug-assertions=off --cfg 'feature="default"' -C metadata=60ce1449ca66fa2e -C extra-filename=-60ce1449ca66fa2e --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` > Running `rustc --crate-name build_script_build /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6e51a63a612854a3 -C extra-filename=-6e51a63a612854a3 --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/build/serde-6e51a63a612854a3 -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` > Running `rustc --crate-name smallvec --edition=2018 /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/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 debug-assertions=off -C metadata=e3ec492c91771276 -C extra-filename=-e3ec492c91771276 --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` > Running `rustc --crate-name build_script_build /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=9ffb2c140e966724 -C extra-filename=-9ffb2c140e966724 --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/build/libc-9ffb2c140e966724 -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` > Running `rustc --crate-name pkg_config /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/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 debug-assertions=off -C metadata=dc1aed3da5b2090e -C extra-filename=-dc1aed3da5b2090e --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` > Running `rustc --crate-name build_script_build --edition=2018 /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=85f2f38bab2e8e6e -C extra-filename=-85f2f38bab2e8e6e --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/build/anyhow-85f2f38bab2e8e6e -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` >error[E0786]: found invalid metadata files for crate `core` > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `compiler_builtins` > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8e15f6af41c08c5e.rlib': Unsupported archive identifier > >error[E0425]: cannot find value `Greater` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/unicode-xid/src/tables.rs:29:13 > | >29 | Greater > | ^^^^^^^ not found in this scope > >error[E0425]: cannot find value `Less` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/unicode-xid/src/tables.rs:31:13 > | >31 | Less > | ^^^^ not found in this scope > >error[E0425]: cannot find value `Equal` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/unicode-xid/src/tables.rs:33:13 > | >33 | Equal > | ^^^^^ not found in this scope > >error[E0786]: found invalid metadata files for crate `alloc` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:87:1 > | >87 | pub extern crate alloc; > | ^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-abec14681bc0ad3e.rlib': Unsupported archive identifier > >error: requires `sized` lang_item > >Some errors have detailed explanations: E0425, E0786. >For more information about an error, try `rustc --explain E0425`. >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:109:9 > | >109 | println!("cargo:rustc-cfg=no_std_atomic"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:106:9 > | >106 | println!("cargo:rustc-cfg=no_std_atomic64"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:91:9 > | >91 | println!("cargo:rustc-cfg=no_systemtime_checked_add"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:90:9 > | >90 | println!("cargo:rustc-cfg=no_num_nonzero_signed"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:89:9 > | >89 | println!("cargo:rustc-cfg=no_core_try_from"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:81:9 > | >81 | println!("cargo:rustc-cfg=no_serde_derive"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:76:9 > | >76 | println!("cargo:rustc-cfg=no_num_nonzero"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:70:9 > | >70 | println!("cargo:rustc-cfg=no_iterator_try_fold"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:69:9 > | >69 | println!("cargo:rustc-cfg=no_range_inclusive"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:61:9 > | >61 | println!("cargo:rustc-cfg=no_integer128"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:51:9 > | >51 | println!("cargo:rustc-cfg=no_core_duration"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:45:9 > | >45 | println!("cargo:rustc-cfg=no_de_rc_dst"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:38:9 > | >38 | println!("cargo:rustc-cfg=no_de_boxed_path"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:37:9 > | >37 | println!("cargo:rustc-cfg=no_de_boxed_c_str"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:30:9 > | >30 | println!("cargo:rustc-cfg=no_core_reverse"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:23:13 > | >23 | println!("cargo:rustc-cfg=no_collections_bound"); > | ^^^^^^^ > >error: could not compile `unicode-xid` due to 6 previous errors > >Caused by: > process didn't exit successfully: `rustc --crate-name unicode_xid /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/unicode-xid/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 debug-assertions=off --cfg 'feature="default"' -C metadata=60ce1449ca66fa2e -C extra-filename=-60ce1449ca66fa2e --out-dir /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps -L dependency=/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64/target/release/deps --cap-lints allow` (exit status: 1) >warning: build failed, waiting for other jobs to finish... >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:7:5 > | >7 | println!("cargo:rerun-if-changed=build.rs"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:16:9 > | >16 | println!( > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:29:13 > | >29 | println!("cargo:rustc-cfg=freebsd10") > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:31:32 > | >31 | Some(11) if libc_ci => println!("cargo:rustc-cfg=freebsd11"), > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:32:32 > | >32 | Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"), > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:33:32 > | >33 | Some(13) if libc_ci => println!("cargo:rustc-cfg=freebsd13"), > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:34:32 > | >34 | Some(14) if libc_ci => println!("cargo:rustc-cfg=freebsd14"), > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:35:27 > | >35 | Some(_) | None => println!("cargo:rustc-cfg=freebsd11"), > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:40:9 > | >40 | println!("cargo:rustc-cfg=libc_deny_warnings"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:45:9 > | >45 | println!("cargo:rustc-cfg=libc_priv_mod_use"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:50:9 > | >50 | println!("cargo:rustc-cfg=libc_union"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:55:9 > | >55 | println!("cargo:rustc-cfg=libc_const_size_of"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:60:9 > | >60 | println!("cargo:rustc-cfg=libc_align"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:67:9 > | >67 | println!("cargo:rustc-cfg=libc_core_cvoid"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:72:9 > | >72 | println!("cargo:rustc-cfg=libc_packedN"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:73:9 > | >73 | println!("cargo:rustc-cfg=libc_cfg_target_vendor"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:78:9 > | >78 | println!("cargo:rustc-cfg=libc_non_exhaustive"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:82:9 > | >82 | println!("cargo:rustc-cfg=libc_ptr_addr_of"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:87:9 > | >87 | println!("cargo:rustc-cfg=libc_thread_local"); > | ^^^^^^^ > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:92:13 > | >92 | panic!("const-extern-fn requires a nightly compiler >= 1.40") > | ^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:94:9 > | >94 | println!("cargo:rustc-cfg=libc_const_extern_fn"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:21:9 > | >21 | println!("cargo:rustc-cfg=no_ops_bound"); > | ^^^^^^^ > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:99:5 > | >99 | use core::borrow::{Borrow, BorrowMut}; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:100:5 > | >100 | use core::cmp; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:101:5 > | >101 | use core::fmt; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:102:5 > | >102 | use core::hash::{Hash, Hasher}; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:103:5 > | >103 | use core::hint::unreachable_unchecked; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:104:5 > | >104 | use core::iter::{repeat, FromIterator, FusedIterator, IntoIterator}; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error: cannot find attribute `test` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:794:3 > | >794 | #[test] > | ^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:797:5 > | >797 | assert!(!is_static_available( > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:802:5 > | >802 | assert!(!is_static_available( > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:709:22 > | >709 | command: format!("{:?}", cmd), > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:703:30 > | >703 | command: format!("{:?}", cmd), > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:689:19 > | >689 | let libname = format!("lib{}.a", name); > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:660:36 > | >660 | let meta = format!("rustc-link-lib=framework={}", lib); > | ^^^^^^ > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:653:17 > | >653 | vec![arg.as_ref()] > | ^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:631:36 > | >631 | let meta = format!("rustc-link-lib={}", val); > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:628:36 > | >628 | let meta = format!("rustc-link-lib=static={}", val); > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:614:32 > | >614 | let meta = format!("rustc-link-search=framework={}", val); > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:608:32 > | >608 | let meta = format!("rustc-link-search=native={}", val); > | ^^^^^^ > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:591:17 > | >591 | vec![sysroot.unwrap_or_else(|| PathBuf::from("/usr"))] > | ^^^ > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:588:21 > | >588 | vec![] > | ^^^ > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:586:21 > | >586 | vec![sysroot] > | ^^^ > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:584:16 > | >584 | if cfg!(target_os = "windows") { > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:577:13 > | >577 | vec![PathBuf::from("/Library"), PathBuf::from("/System")] > | ^^^ > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:576:31 > | >576 | let system_roots = if cfg!(target_os = "macos") { > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:545:25 > | >545 | extra_args: vec![], > | ^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:526:36 > | >526 | } else if self.env_var_os(&format!("{}_DYNAMIC", name)).is_some() { > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:524:29 > | >524 | if self.env_var_os(&format!("{}_STATIC", name)).is_some() { > | ^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:518:13 > | >518 | println!("cargo:{}", s); > | ^^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:509:26 > | >509 | cmd.arg(&format!("{} < {}", name, version)); > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:506:26 > | >506 | cmd.arg(&format!("{} <= {}", name, version)); > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:500:26 > | >500 | cmd.arg(&format!("{} > {}", name, version)); > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:497:26 > | >497 | cmd.arg(&format!("{} >= {}", name, version)); > | ^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:460:13 > | >460 | println!("cargo:rerun-if-env-changed={}", name); > | ^^^^^^^ > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:450:17 > | >450 | panic!( > | ^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:443:50 > | >443 | .or_else(|| self.env_var_os(&format!("{}_{}", kind, var_base))) > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:442:50 > | >442 | .or_else(|| self.env_var_os(&format!("{}_{}", var_base, target_u))) > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:441:34 > | >441 | self.env_var_os(&format!("{}_{}", var_base, target)) > | ^^^^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:378:30 > | >378 | let abort_var_name = format!("{}_NO_PKG_CONFIG", envify(name)); > | ^^^^^^ > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:277:25 > | >277 | extra_args: vec![], > | ^^^ > >error: cannot find macro `format` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:263:15 > | >263 | let arg = format!("--variable={}", variable); > | ^^^^^^ > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:233:9 > | >233 | write!(f, "\n--- stderr\n{}", stderr)?; > | ^^^^^ > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:229:9 > | >229 | write!(f, "\n--- stdout\n{}", stdout)?; > | ^^^^^ > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:221:39 > | >221 | Error::__Nonexhaustive => panic!(), > | ^^^^^ > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:214:17 > | >214 | write!( > | ^^^^^ > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:203:17 > | >203 | write!( > | ^^^^^ > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:195:26 > | >195 | _ => write!(f, "Failed to run command `{}`, because: {}", command, cause), > | ^^^^^ > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:181:25 > | >181 | write!(f, "Could not run `{command}`\n\ > | ^^^^^ > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:175:35 > | >175 | } else if cfg!(unix) { > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:173:76 > | >173 | let instructions = if cfg!(target_os = "macos") || cfg!(target_os = "ios") { > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:173:47 > | >173 | let instructions = if cfg!(target_os = "macos") || cfg!(target_os = "ios") { > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:156:48 > | >156 | Error::EnvNoPkgConfig(ref name) => write!(f, "Aborted because {} is set", name), > | ^^^^^ > >error: cannot find attribute `derive` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:94:3 > | >94 | #[derive(Clone, Debug)] > | ^^^^^^ > >error: cannot find attribute `derive` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:82:3 > | >82 | #[derive(Clone, Debug)] > | ^^^^^^ > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:105:5 > | >105 | use core::mem; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:106:5 > | >106 | use core::mem::MaybeUninit; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:107:5 > | >107 | use core::ops::{self, Range, RangeBounds}; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:108:5 > | >108 | use core::ptr::{self, NonNull}; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:109:5 > | >109 | use core::slice::{self, SliceIndex}; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:796:13 > | >796 | use core::ops::Bound::*; > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error: cannot find attribute `derive` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:277:3 > | >277 | #[derive(Debug)] > | ^^^^^^ > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:10:28 > | >10 | let rustc_dep_of_std = env::var("CARGO_FEATURE_RUSTC_DEP_OF_STD").is_ok(); > | ^^^ use of undeclared crate or module `env` > >error: cannot find macro `write` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:290:9 > | >290 | write!(f, "Allocation error: {:?}", self) > | ^^^^^ > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:304:54 > | >304 | Err(CollectionAllocErr::CapacityOverflow) => panic!("capacity overflow"), > | ^^^^^ > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:235:12 > | >235 | if cfg!(not(debug_assertions)) { > | ^^^ >... >477 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:238:13 > | >238 | panic!($e); > | ^^^^^ >... >477 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:235:12 > | >235 | if cfg!(not(debug_assertions)) { > | ^^^ >... >484 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:238:13 > | >238 | panic!($e); > | ^^^^^ >... >484 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:235:12 > | >235 | if cfg!(not(debug_assertions)) { > | ^^^ >... >495 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:238:13 > | >238 | panic!($e); > | ^^^^^ >... >495 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:235:12 > | >235 | if cfg!(not(debug_assertions)) { > | ^^^ >... >502 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:238:13 > | >238 | panic!($e); > | ^^^^^ >... >502 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:235:12 > | >235 | if cfg!(not(debug_assertions)) { > | ^^^ >... >509 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `panic` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:238:13 > | >238 | panic!($e); > | ^^^^^ >... >509 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:561:9 > | >561 | assert!( > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:661:9 > | >661 | assert!(len <= A::size()); > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:810:9 > | >810 | assert!(start <= end); > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:811:9 > | >811 | assert!(end <= len); > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:891:13 > | >891 | assert!(new_cap >= len); > | ^^^^^^ > >error: cannot find macro `debug_assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:902:17 > | >902 | debug_assert!(layout.size() > 0); > | ^^^^^^^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1056:13 > | >1056 | assert!(index < len); > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1074:13 > | >1074 | assert!(index <= len); > | ^^^^^^ > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:14:18 > | >14 | let target = env::var("TARGET").unwrap(); > | ^^^ use of undeclared crate or module `env` > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1091:9 > | >1091 | assert!(lower_size_bound <= core::isize::MAX as usize); // Ensure offset is indexable > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1092:9 > | >1092 | assert!(index + lower_size_bound >= index); // Protect against overflow > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1096:9 > | >1096 | assert!(index <= old_len); > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1383:9 > | >1383 | assert!(capacity > Self::inline_capacity()); > | ^^^^^^ > >error: cannot find macro `assert` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1448:9 > | >1448 | assert!(index <= len); > | ^^^^^^ > >error: cannot find macro `vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1498:13 > | >1498 | vec![elem; n].into() > | ^^^ > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:11:31 > | >11 | let align_cargo_feature = env::var("CARGO_FEATURE_ALIGN").is_ok(); > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:272:9 > | >272 | Vec::extend_from_slice(self, other) > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:288:6 > | >288 | impl fmt::Display for CollectionAllocErr { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:289:27 > | >289 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:289:50 > | >289 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:312:16 > | >312 | let size = mem::size_of::<T>() > | ^^^ use of undeclared crate or module `mem` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:315:17 > | >315 | let align = mem::align_of::<T>(); > | ^^^ use of undeclared crate or module `mem` > >error[E0433]: failed to resolve: use of undeclared type `Layout` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:316:5 > | >316 | Layout::from_size_align(size, align).map_err(|_| CollectionAllocErr::CapacityOverflow) > | ^^^^^^ use of undeclared type `Layout` > >error[E0433]: failed to resolve: use of undeclared crate or module `slice` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:333:11 > | >333 | iter: slice::Iter<'a, T::Item>, > | ^^^^^ use of undeclared crate or module `slice` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:337:25 > | >337 | impl<'a, T: 'a + Array> fmt::Debug for Drain<'a, T> > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:339:14 > | >339 | T::Item: fmt::Debug, > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:341:27 > | >341 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:341:50 > | >341 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:12:41 > | >12 | let const_extern_fn_cargo_feature = env::var("CARGO_FEATURE_CONST_EXTERN_FN").is_ok(); > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:356:39 > | >356 | .map(|reference| unsafe { ptr::read(reference) }) > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:370:39 > | >370 | .map(|reference| unsafe { ptr::read(reference) }) > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:397:21 > | >397 | ptr::copy(src, dst, self.tail_len); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:114:23 > | >114 | let rustc = match env::var_os("RUSTC") { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:13:19 > | >13 | let libc_ci = env::var("LIBC_CI").is_ok(); > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:567:45 > | >567 | data: SmallVecData::from_inline(MaybeUninit::uninit()), > | ^^^^^^^^^^^ use of undeclared type `MaybeUninit` > >error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:607:63 > | >607 | let mut data = SmallVecData::<A>::from_inline(MaybeUninit::uninit()); > | ^^^^^^^^^^^ use of undeclared type `MaybeUninit` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:610:17 > | >610 | ptr::copy_nonoverlapping(vec.as_ptr(), data.inline_mut(), len); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:619:13 > | >619 | mem::forget(vec); > | ^^^ use of undeclared crate or module `mem` > >error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:643:45 > | >643 | data: SmallVecData::from_inline(MaybeUninit::new(buf)), > | ^^^^^^^^^^^ use of undeclared type `MaybeUninit` > >error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:662:55 > | >662 | unsafe { SmallVec::from_buf_and_len_unchecked(MaybeUninit::new(buf), len) } > | ^^^^^^^^^^^ use of undeclared type `MaybeUninit` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:15:8 > | >15 | if env::var("CARGO_FEATURE_USE_STD").is_ok() { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:701:12 > | >701 | if mem::size_of::<A::Item>() > 0 { > | ^^^ use of undeclared crate or module `mem` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:1:5 > | >1 | use std::env; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:714:13 > | >714 | core::usize::MAX > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `slice` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:816:31 > | >816 | let range_slice = slice::from_raw_parts_mut(self.as_mut_ptr().add(start), end - start); > | ^^^^^ use of undeclared crate or module `slice` > >error[E0433]: failed to resolve: use of undeclared type `NonNull` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:822:22 > | >822 | vec: NonNull::from(self), > | ^^^^^^^ use of undeclared type `NonNull` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:838:13 > | >838 | ptr::write(ptr.add(*len), value); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:119:24 > | >119 | let output = match Command::new(rustc).arg("--version").output() { > | ^^^^^^^ use of undeclared type `Command` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:853:18 > | >853 | Some(ptr::read(ptr.add(last_index))) > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:896:55 > | >896 | self.data = SmallVecData::from_inline(MaybeUninit::uninit()); > | ^^^^^^^^^^^ use of undeclared type `MaybeUninit` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:897:17 > | >897 | ptr::copy_nonoverlapping(ptr, self.data.inline_mut(), len); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared type `NonNull` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:905:33 > | >905 | new_alloc = NonNull::new(alloc::alloc::alloc(layout)) > | ^^^^^^^ use of undeclared type `NonNull` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:2:5 > | >2 | use std::process::Command; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:43:5 > | >43 | use std::env; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:909:21 > | >909 | ptr::copy_nonoverlapping(ptr, new_alloc, len); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared type `NonNull` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:916:33 > | >916 | new_alloc = NonNull::new(new_ptr) > | ^^^^^^^ use of undeclared type `NonNull` > >error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:987:55 > | >987 | self.data = SmallVecData::from_inline(MaybeUninit::uninit()); > | ^^^^^^^^^^^ use of undeclared type `MaybeUninit` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:988:17 > | >988 | ptr::copy_nonoverlapping(ptr, self.data.inline_mut(), len); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1010:17 > | >1010 | ptr::drop_in_place(ptr.add(last_index)); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1059:24 > | >1059 | let item = ptr::read(ptr); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1060:13 > | >1060 | ptr::copy(ptr.add(1), ptr, len - index - 1); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1077:13 > | >1077 | ptr::copy(ptr, ptr.add(1), len - index); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1078:13 > | >1078 | ptr::write(ptr, element); > | ^^^ use of undeclared crate or module `ptr` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:3:5 > | >3 | use std::str; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1105:13 > | >1105 | ptr::copy(ptr, ptr.add(lower_size_bound), old_len - index); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1121:17 > | >1121 | ptr::write(cur, element); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1128:17 > | >1128 | ptr::copy( > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1136:13 > | >1136 | mem::forget(guard); > | ^^^ use of undeclared crate or module `mem` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:44:5 > | >44 | use std::iter; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1156:29 > | >1156 | ... ptr::drop_in_place(self.start.add(i)); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1170:25 > | >1170 | let v = Vec::from_raw_parts(ptr, len, self.capacity); > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1171:17 > | >1171 | mem::forget(self); > | ^^^ use of undeclared crate or module `mem` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1197:28 > | >1197 | let data = ptr::read(&self.data); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1198:17 > | >1198 | mem::forget(self); > | ^^^ use of undeclared crate or module `mem` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:3:5 > | >3 | use std::env; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1252:25 > | >1252 | mem::swap(&mut *p_r, &mut *p_w); > | ^^^ use of undeclared crate or module `mem` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:27:9 > | >27 | println!("cargo:rustc-cfg=syn_disable_nightly_tests"); > | ^^^^^^^ > >error[E0433]: failed to resolve: use of undeclared type `MaybeUninit` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1420:52 > | >1420 | let mut data: MaybeUninit<A> = MaybeUninit::uninit(); > | ^^^^^^^^^^^ use of undeclared type `MaybeUninit` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1421:21 > | >1421 | ptr::copy_nonoverlapping( > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `mem` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1432:13 > | >1432 | mem::forget(b); > | ^^^ use of undeclared crate or module `mem` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1453:13 > | >1453 | ptr::copy(ptr, ptr.add(slice.len()), len - index); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1454:13 > | >1454 | ptr::copy_nonoverlapping(slice_ptr, ptr, slice.len()); > | ^^^ use of undeclared crate or module `ptr` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:45:5 > | >45 | use std::process::{self, Command}; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1506:23 > | >1506 | ::core::ptr::write(ptr.add(i), elem.clone()); > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `ops` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1515:16 > | >1515 | impl<A: Array> ops::Deref for SmallVec<A> { > | ^^^ use of undeclared crate or module `ops` > >error[E0433]: failed to resolve: use of undeclared crate or module `slice` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1521:13 > | >1521 | slice::from_raw_parts(ptr, len) > | ^^^^^ use of undeclared crate or module `slice` > >error[E0433]: failed to resolve: use of undeclared crate or module `ops` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1526:16 > | >1526 | impl<A: Array> ops::DerefMut for SmallVec<A> { > | ^^^ use of undeclared crate or module `ops` > >error[E0433]: failed to resolve: use of undeclared crate or module `slice` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1531:13 > | >1531 | slice::from_raw_parts_mut(ptr, len) > | ^^^^^ use of undeclared crate or module `slice` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:4:5 > | >4 | use std::fs; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:23:9 > | >23 | println!("cargo:rustc-cfg=syn_no_negative_literal_parse"); > | ^^^^^^^ > >error[E0433]: failed to resolve: use of undeclared crate or module `ops` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1699:42 > | >1699 | impl<A: Array, I: SliceIndex<[A::Item]>> ops::Index<I> for SmallVec<A> { > | ^^^ use of undeclared crate or module `ops` > >error[E0433]: failed to resolve: use of undeclared crate or module `ops` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1707:42 > | >1707 | impl<A: Array, I: SliceIndex<[A::Item]>> ops::IndexMut<I> for SmallVec<A> { > | ^^^ use of undeclared crate or module `ops` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1743:21 > | >1743 | ptr::write(ptr.add(len.get()), out); > | ^^^ use of undeclared crate or module `ptr` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1757:16 > | >1757 | impl<A: Array> fmt::Debug for SmallVec<A> > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1759:14 > | >1759 | A::Item: fmt::Debug, > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1761:27 > | >1761 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1761:50 > | >1761 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1793:17 > | >1793 | Vec::from_raw_parts(ptr, len, self.capacity); > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1795:17 > | >1795 | ptr::drop_in_place(&mut self[..]); > | ^^^ use of undeclared crate or module `ptr` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:5:5 > | >5 | use std::path::Path; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `cmp` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1843:58 > | >1843 | fn partial_cmp(&self, other: &SmallVec<A>) -> Option<cmp::Ordering> { > | ^^^ use of undeclared crate or module `cmp` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:19:9 > | >19 | println!("cargo:rustc-cfg=syn_no_const_vec_new"); > | ^^^^^^^ > >error[E0408]: variable `None` is not bound in all patterns > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:35:9 > | >35 | Some(_) | None => println!("cargo:rustc-cfg=freebsd11"), > | ^^^^^^^ ---- variable not in all patterns > | | > | pattern doesn't bind `None` > | >help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::None` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:35:19 > | >35 | Some(_) | None => println!("cargo:rustc-cfg=freebsd11"), > | ^^^^ > >error[E0433]: failed to resolve: use of undeclared type `PartialOrd` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1844:9 > | >1844 | PartialOrd::partial_cmp(&**self, &**other) > | ^^^^^^^^^^ use of undeclared type `PartialOrd` > >error[E0433]: failed to resolve: use of undeclared crate or module `cmp` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1853:43 > | >1853 | fn cmp(&self, other: &SmallVec<A>) -> cmp::Ordering { > | ^^^ use of undeclared crate or module `cmp` > >error[E0433]: failed to resolve: use of undeclared type `Ord` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1854:9 > | >1854 | Ord::cmp(&**self, &**other) > | ^^^ use of undeclared type `Ord` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1880:16 > | >1880 | impl<A: Array> fmt::Debug for IntoIter<A> > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1882:14 > | >1882 | A::Item: fmt::Debug, > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1884:27 > | >1884 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1884:50 > | >1884 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1915:22 > | >1915 | Some(ptr::read(self.data.as_ptr().add(current))) > | ^^^ use of undeclared crate or module `ptr` > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:46:5 > | >46 | use std::str; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `ptr` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1935:22 > | >1935 | Some(ptr::read(self.data.as_ptr().add(self.end))) > | ^^^ use of undeclared crate or module `ptr` > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1948:18 > | >1948 | unsafe { core::slice::from_raw_parts(self.data.as_ptr().add(self.current), len) } > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1954:18 > | >1954 | unsafe { core::slice::from_raw_parts_mut(self.data.as_mut_ptr().add(self.current), len) } > | ^^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:6:5 > | >6 | use std::process::{Command, ExitStatus, Stdio}; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0433]: failed to resolve: use of undeclared crate or module `slice` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1976:21 > | >1976 | type IntoIter = slice::Iter<'a, A::Item>; > | ^^^^^ use of undeclared crate or module `slice` > >error[E0433]: failed to resolve: use of undeclared crate or module `slice` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1984:21 > | >1984 | type IntoIter = slice::IterMut<'a, A::Item>; > | ^^^^^ use of undeclared crate or module `slice` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:15:9 > | >15 | println!("cargo:rustc-cfg=syn_omit_await_from_token_macro"); > | ^^^^^^^ > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:270:39 > | >270 | impl<T: Clone> ExtendFromSlice<T> for Vec<T> { > | ^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:270:9 > | >270 | impl<T: Clone> ExtendFromSlice<T> for Vec<T> { > | ^^^^^ not found in this scope > >error[E0412]: cannot find type `Layout` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:284:17 > | >284 | layout: Layout, > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `From` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:295:6 > | >295 | impl From<LayoutErr> for CollectionAllocErr { > | ^^^^ not found in this scope > >error[E0412]: cannot find type `LayoutErr` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:295:11 > | >295 | impl From<LayoutErr> for CollectionAllocErr { > | - ^^^^^^^^^ not found in this scope > | | > | help: you might be missing a type parameter: `<LayoutErr>` > >error[E0412]: cannot find type `LayoutErr` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:296:16 > | >296 | fn from(_: LayoutErr) -> Self { > | ^^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:301:26 > | >301 | fn infallible<T>(result: Result<T, CollectionAllocErr>) -> T { > | ^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:303:9 > | >303 | Ok(x) => x, > | ^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:304:9 > | >304 | Err(CollectionAllocErr::CapacityOverflow) => panic!("capacity overflow"), > | ^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:305:9 > | >305 | Err(CollectionAllocErr::AllocErr { layout }) => alloc::alloc::handle_alloc_error(layout), > | ^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:311:33 > | >311 | fn layout_array<T>(n: usize) -> Result<Layout, CollectionAllocErr> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Layout` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:311:40 > | >311 | fn layout_array<T>(n: usize) -> Result<Layout, CollectionAllocErr> { > | - ^^^^^^ not found in this scope > | | > | help: you might be missing a type parameter: `, Layout` > >error[E0412]: cannot find type `NonNull` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:334:10 > | >334 | vec: NonNull<SmallVec<T>>, > | ^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Sync` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:346:34 > | >346 | unsafe impl<'a, T: Sync + Array> Sync for Drain<'a, T> {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Sync` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:346:20 > | >346 | unsafe impl<'a, T: Sync + Array> Sync for Drain<'a, T> {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Send` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:347:34 > | >347 | unsafe impl<'a, T: Send + Array> Send for Drain<'a, T> {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Send` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:347:20 > | >347 | unsafe impl<'a, T: Send + Array> Send for Drain<'a, T> {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Iterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:349:25 > | >349 | impl<'a, T: 'a + Array> Iterator for Drain<'a, T> { > | ^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:353:27 > | >353 | fn next(&mut self) -> Option<T::Item> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:360:36 > | >360 | fn size_hint(&self) -> (usize, Option<usize>) { > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `DoubleEndedIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:365:25 > | >365 | impl<'a, T: 'a + Array> DoubleEndedIterator for Drain<'a, T> { > | ^^^^^^^^^^^^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:367:32 > | >367 | fn next_back(&mut self) -> Option<T::Item> { > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `ExactSizeIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:374:20 > | >374 | impl<'a, T: Array> ExactSizeIterator for Drain<'a, T> { > | ^^^^^^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `FusedIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:381:20 > | >381 | impl<'a, T: Array> FusedIterator for Drain<'a, T> {} > | ^^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Drop` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:383:25 > | >383 | impl<'a, T: 'a + Array> Drop for Drain<'a, T> { > | ^^^^ not found in this scope > >error[E0425]: cannot find value `drop` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:385:23 > | >385 | self.for_each(drop); > | ^^^^ not found in this scope > >error[E0412]: cannot find type `MaybeUninit` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:458:12 > | >458 | Inline(MaybeUninit<A>), > | ^^^^^^^^^^^ not found in this scope > >error[E0425]: cannot find function `unreachable_unchecked` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:236:13 > | >236 | unreachable_unchecked(); > | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope >... >477 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0425]: cannot find function `unreachable_unchecked` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:236:13 > | >236 | unreachable_unchecked(); > | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope >... >484 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0412]: cannot find type `MaybeUninit` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:488:28 > | >488 | fn from_inline(inline: MaybeUninit<A>) -> SmallVecData<A> { > | ^^^^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `MaybeUninit` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:492:36 > | >492 | unsafe fn into_inline(self) -> MaybeUninit<A> { > | ^^^^^^^^^^^ not found in this scope > >error[E0425]: cannot find function `unreachable_unchecked` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:236:13 > | >236 | unreachable_unchecked(); > | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope >... >495 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0425]: cannot find function `unreachable_unchecked` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:236:13 > | >236 | unreachable_unchecked(); > | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope >... >502 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0425]: cannot find function `unreachable_unchecked` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:236:13 > | >236 | unreachable_unchecked(); > | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope >... >509 | _ => debug_unreachable!(), > | -------------------- in this macro invocation > | > = note: this error originates in the macro `debug_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0405]: cannot find trait `Send` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:518:30 > | >518 | unsafe impl<A: Array + Send> Send for SmallVecData<A> {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Send` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:518:24 > | >518 | unsafe impl<A: Array + Send> Send for SmallVecData<A> {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Sync` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:519:30 > | >519 | unsafe impl<A: Array + Sync> Sync for SmallVecData<A> {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Sync` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:519:24 > | >519 | unsafe impl<A: Array + Sync> Sync for SmallVecData<A> {} > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:604:30 > | >604 | pub fn from_vec(mut vec: Vec<A::Item>) -> SmallVec<A> { > | ^^^ not found in this scope > >error[E0412]: cannot find type `MaybeUninit` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:681:51 > | >681 | pub unsafe fn from_buf_and_len_unchecked(buf: MaybeUninit<A>, len: usize) -> SmallVec<A> { > | ^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `RangeBounds` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:794:12 > | >794 | R: RangeBounds<usize>, > | ^^^^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Included` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:800:13 > | >800 | Included(&n) => n, > | ^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Excluded` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:801:13 > | >801 | Excluded(&n) => n.checked_add(1).expect("Range start out of bounds"), > | ^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Included` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:805:13 > | >805 | Included(&n) => n.checked_add(1).expect("Range end out of bounds"), > | ^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Excluded` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:806:13 > | >806 | Excluded(&n) => n, > | ^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:845:30 > | >845 | pub fn pop(&mut self) -> Option<A::Item> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:849:24 > | >849 | return None; > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:853:13 > | >853 | Some(ptr::read(ptr.add(last_index))) > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:887:51 > | >887 | pub fn try_grow(&mut self, new_cap: usize) -> Result<(), CollectionAllocErr> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:894:28 > | >894 | return Ok(()); > | ^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:924:13 > | >924 | Ok(()) > | ^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:941:57 > | >941 | pub fn try_reserve(&mut self, additional: usize) -> Result<(), CollectionAllocErr> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:947:20 > | >947 | return Ok(()); > | ^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:964:63 > | >964 | pub fn try_reserve_exact(&mut self, additional: usize) -> Result<(), CollectionAllocErr> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:967:20 > | >967 | return Ok(()); > | ^^ not found in this scope > >error[E0425]: cannot find function `unreachable_unchecked` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1039:41 > | >1039 | .unwrap_or_else(|| unsafe { unreachable_unchecked() }) > | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `IntoIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1084:27 > | >1084 | pub fn insert_many<I: IntoIterator<Item = A::Item>>(&mut self, index: usize, iterable: I) { > | ^^^^^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1117:21 > | >1117 | Some(x) => x, > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Range` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1147:19 > | >1147 | skip: Range<usize>, // Space we copied-out-of, but haven't written-to yet. > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `Drop` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1151:17 > | >1151 | impl<T> Drop for DropOnPanic<T> { > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1166:30 > | >1166 | pub fn into_vec(self) -> Vec<A::Item> { > | ^^^ not found in this scope > >error[E0412]: cannot find type `Box` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1183:38 > | >1183 | pub fn into_boxed_slice(self) -> Box<[A::Item]> { > | ^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1191:32 > | >1191 | pub fn into_inner(self) -> Result<A, Self> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1194:13 > | >1194 | Err(self) > | ^^^------ > | | > | help: try calling `Err` as a method: `self.Err()` > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1199:17 > | >1199 | Ok(data.into_inline().assume_init()) > | ^^ not found in this scope > >error[E0405]: cannot find trait `FnMut` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1209:22 > | >1209 | pub fn retain<F: FnMut(&mut A::Item) -> bool>(&mut self, mut f: F) { > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `PartialEq` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1225:18 > | >1225 | A::Item: PartialEq<A::Item>, > | ^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `FnMut` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1233:12 > | >1233 | F: FnMut(&mut A::Item, &mut A::Item) -> bool, > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `FnMut` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1265:12 > | >1265 | F: FnMut(&mut A::Item) -> K, > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `PartialEq` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1266:12 > | >1266 | K: PartialEq<K>, > | ^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `FnMut` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1298:12 > | >1298 | F: FnMut() -> A::Item, > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `Copy` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1409:14 > | >1409 | A::Item: Copy, > | ^^^^ not found in this scope > >error[E0412]: cannot find type `MaybeUninit` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1420:35 > | >1420 | let mut data: MaybeUninit<A> = MaybeUninit::uninit(); > | ^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1471:14 > | >1471 | A::Item: Clone, > | ^^^^^ not found in this scope > >error[E0425]: cannot find function `repeat` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1483:25 > | >1483 | self.extend(repeat(value).take(len - old_len)); > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `AsRef` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1536:16 > | >1536 | impl<A: Array> AsRef<[A::Item]> for SmallVec<A> { > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `AsMut` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1543:16 > | >1543 | impl<A: Array> AsMut<[A::Item]> for SmallVec<A> { > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `Borrow` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1550:16 > | >1550 | impl<A: Array> Borrow<[A::Item]> for SmallVec<A> { > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `BorrowMut` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1557:16 > | >1557 | impl<A: Array> BorrowMut<[A::Item]> for SmallVec<A> { > | ^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `From` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1668:20 > | >1668 | impl<'a, A: Array> From<&'a [A::Item]> for SmallVec<A> > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1670:14 > | >1670 | A::Item: Clone, > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `From` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1685:16 > | >1685 | impl<A: Array> From<Vec<A::Item>> for SmallVec<A> { > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1685:21 > | >1685 | impl<A: Array> From<Vec<A::Item>> for SmallVec<A> { > | ^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1687:18 > | >1687 | fn from(vec: Vec<A::Item>) -> SmallVec<A> { > | ^^^ not found in this scope > >error[E0405]: cannot find trait `From` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1692:16 > | >1692 | impl<A: Array> From<A> for SmallVec<A> { > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `SliceIndex` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1699:19 > | >1699 | impl<A: Array, I: SliceIndex<[A::Item]>> ops::Index<I> for SmallVec<A> { > | ^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `SliceIndex` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1707:19 > | >1707 | impl<A: Array, I: SliceIndex<[A::Item]>> ops::IndexMut<I> for SmallVec<A> { > | ^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Copy` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1716:14 > | >1716 | A::Item: Copy, > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `FromIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1723:16 > | >1723 | impl<A: Array> FromIterator<A::Item> for SmallVec<A> { > | ^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `IntoIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1725:21 > | >1725 | fn from_iter<I: IntoIterator<Item = A::Item>>(iterable: I) -> SmallVec<A> { > | ^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Extend` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1732:16 > | >1732 | impl<A: Array> Extend<A::Item> for SmallVec<A> { > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `IntoIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1733:18 > | >1733 | fn extend<I: IntoIterator<Item = A::Item>>(&mut self, iterable: I) { > | ^^^^^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1742:24 > | >1742 | if let Some(out) = iter.next() { > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Default` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1766:16 > | >1766 | impl<A: Array> Default for SmallVec<A> { > | ^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Drop` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1788:16 > | >1788 | impl<A: Array> Drop for SmallVec<A> { > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1801:16 > | >1801 | impl<A: Array> Clone for SmallVec<A> > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1803:14 > | >1803 | A::Item: Clone, > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `PartialEq` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1826:26 > | >1826 | impl<A: Array, B: Array> PartialEq<SmallVec<B>> for SmallVec<A> > | ^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `PartialEq` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1828:14 > | >1828 | A::Item: PartialEq<B::Item>, > | ^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Eq` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1836:16 > | >1836 | impl<A: Array> Eq for SmallVec<A> where A::Item: Eq {} > | ^^ not found in this scope > >error[E0405]: cannot find trait `Eq` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1836:50 > | >1836 | impl<A: Array> Eq for SmallVec<A> where A::Item: Eq {} > | ^^ not found in this scope > >error[E0405]: cannot find trait `PartialOrd` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1838:16 > | >1838 | impl<A: Array> PartialOrd for SmallVec<A> > | ^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `PartialOrd` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1840:14 > | >1840 | A::Item: PartialOrd, > | ^^^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1843:51 > | >1843 | fn partial_cmp(&self, other: &SmallVec<A>) -> Option<cmp::Ordering> { > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Ord` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1848:16 > | >1848 | impl<A: Array> Ord for SmallVec<A> > | ^^^ not found in this scope > >error[E0405]: cannot find trait `Ord` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1850:14 > | >1850 | A::Item: Ord, > | ^^^ not found in this scope > >error[E0405]: cannot find trait `Hash` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1858:16 > | >1858 | impl<A: Array> Hash for SmallVec<A> > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Hash` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1860:14 > | >1860 | A::Item: Hash, > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Hasher` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1862:16 > | >1862 | fn hash<H: Hasher>(&self, state: &mut H) { > | ^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Send` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1867:23 > | >1867 | unsafe impl<A: Array> Send for SmallVec<A> where A::Item: Send {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Send` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1867:59 > | >1867 | unsafe impl<A: Array> Send for SmallVec<A> where A::Item: Send {} > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1889:24 > | >1889 | impl<A: Array + Clone> Clone for IntoIter<A> > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1889:17 > | >1889 | impl<A: Array + Clone> Clone for IntoIter<A> > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `Clone` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1891:14 > | >1891 | A::Item: Clone, > | ^^^^^ not found in this scope > >error[E0405]: cannot find trait `Drop` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1898:16 > | >1898 | impl<A: Array> Drop for IntoIter<A> { > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Iterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1904:16 > | >1904 | impl<A: Array> Iterator for IntoIter<A> { > | ^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1908:27 > | >1908 | fn next(&mut self) -> Option<A::Item> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1910:13 > | >1910 | None > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1915:17 > | >1915 | Some(ptr::read(self.data.as_ptr().add(current))) > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1921:36 > | >1921 | fn size_hint(&self) -> (usize, Option<usize>) { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1923:16 > | >1923 | (size, Some(size)) > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `DoubleEndedIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1927:16 > | >1927 | impl<A: Array> DoubleEndedIterator for IntoIter<A> { > | ^^^^^^^^^^^^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1929:32 > | >1929 | fn next_back(&mut self) -> Option<A::Item> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1931:13 > | >1931 | None > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1935:17 > | >1935 | Some(ptr::read(self.data.as_ptr().add(self.end))) > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `ExactSizeIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1941:16 > | >1941 | impl<A: Array> ExactSizeIterator for IntoIter<A> {} > | ^^^^^^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `FusedIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1942:16 > | >1942 | impl<A: Array> FusedIterator for IntoIter<A> {} > | ^^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `IntoIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1958:16 > | >1958 | impl<A: Array> IntoIterator for SmallVec<A> { > | ^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `IntoIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1975:20 > | >1975 | impl<'a, A: Array> IntoIterator for &'a SmallVec<A> { > | ^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `IntoIterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:1983:20 > | >1983 | impl<'a, A: Array> IntoIterator for &'a mut SmallVec<A> { > | ^^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `Drop` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:2027:10 > | >2027 | impl<'a> Drop for SetLenOnDrop<'a> { > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Copy` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/smallvec/src/lib.rs:2097:14 > | >2097 | A::Item: Copy, > | ^^^^ not found in this scope > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:127:5 > | >127 | cfg!(feature = "proc-macro") > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:108:23 > | >108 | let rustc = otry!(env::var_os("RUSTC")); > | ^^^ use of undeclared crate or module `env` > >Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0531, E0786. >For more information about an error, try `rustc --explain E0405`. >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:49:5 > | >49 | println!("cargo:rerun-if-changed=build.rs"); > | ^^^^^^^ > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:10:9 > | >10 | Some(minor) => minor, > | ^^^^ not found in this scope > >error[E0786]: found invalid metadata files for crate `core` which `std` depends on > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:7:5 > | >7 | use std::str; > | ^^^ > | > = note: failed to parse rlib '/usr/lib/rust/1.59.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88092a7b78f81010.rlib': Unsupported archive identifier > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:113:29 > | >113 | fn rustc_minor_version() -> Option<u32> { > | ^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:115:9 > | >115 | Some(rustc) => rustc, > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:120:9 > | >120 | Ok(output) => output, > | ^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:121:9 > | >121 | Err(_) => return None, > | ^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:121:26 > | >121 | Err(_) => return None, > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:125:9 > | >125 | Ok(version) => version, > | ^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:126:9 > | >126 | Err(_) => return None, > | ^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:126:26 > | >126 | Err(_) => return None, > | ^^^^ not found in this scope > >error: cannot find macro `eprintln` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:57:9 > | >57 | eprintln!("Minimum supported rustc version is 1.31"); > | ^^^^^^^^ > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:130:25 > | >130 | if pieces.next() != Some("rustc 1") { > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:131:16 > | >131 | return None; > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/serde/build.rs:135:9 > | >135 | Some(next) => next, > | ^^^^ not found in this scope > >Some errors have detailed explanations: E0412, E0425, E0433, E0531, E0786. >For more information about an error, try `rustc --explain E0412`. >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:109:24 > | >109 | let output = otry!(Command::new(rustc).arg("--version").output().ok()); > | ^^^^^^^ use of undeclared type `Command` > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:46:8 > | >46 | if cfg!(feature = "std") { > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:62:25 > | >62 | let semver_exempt = cfg!(procmacro2_semver_exempt) || docs_rs; > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:48:49 > | >48 | Some(status) if status.success() => println!("cargo:rustc-cfg=backtrace"), > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:65:9 > | >65 | println!("cargo:rustc-cfg=procmacro2_semver_exempt"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:59:9 > | >59 | println!("cargo:rustc-cfg=anyhow_no_ptr_addr_of"); > | ^^^^^^^ > >error: cannot find macro `cfg` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:68:25 > | >68 | if semver_exempt || cfg!(feature = "span-locations") { > | ^^^ > | > = note: `cfg` is in scope, but it is an attribute: `#[cfg]` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:63:9 > | >63 | println!("cargo:rustc-cfg=anyhow_no_fmt_arguments_as_str"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:69:9 > | >69 | println!("cargo:rustc-cfg=span_locations"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:73:9 > | >73 | println!("cargo:rustc-cfg=no_libprocmacro_unwind_safe"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:77:9 > | >77 | println!("cargo:rustc-cfg=no_bind_by_move_pattern_guard"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:81:9 > | >81 | println!("cargo:rustc-cfg=no_lexerror_display"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:85:9 > | >85 | println!("cargo:rustc-cfg=no_hygiene"); > | ^^^^^^^ > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:37:17 > | >37 | let rustc = env::var_os("RUSTC")?; > | ^^^ use of undeclared crate or module `env` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:89:9 > | >89 | println!("cargo:rustc-cfg=no_literal_from_str"); > | ^^^^^^^ > >error[E0433]: failed to resolve: use of undeclared type `String` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:143:18 > | >143 | let stdout = String::from_utf8(output.stdout).ok(); > | ^^^^^^ use of undeclared type `String` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:93:9 > | >93 | println!("cargo:rustc-cfg=no_group_open_close"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:97:9 > | >97 | println!("cargo:rustc-cfg=no_is_available"); > | ^^^^^^^ > >error[E0433]: failed to resolve: use of undeclared crate or module `io` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:123:39 > | >123 | Command { command: String, cause: io::Error }, > | ^^ use of undeclared crate or module `io` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:105:5 > | >105 | println!("cargo:rustc-cfg=use_proc_macro"); > | ^^^^^^^ > >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:38:18 > | >38 | let output = Command::new(rustc).arg("--version").output().ok()?; > | ^^^^^^^ use of undeclared type `Command` > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:108:9 > | >108 | println!("cargo:rustc-cfg=wrap_proc_macro"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:112:9 > | >112 | println!("cargo:rustc-cfg=proc_macro_span"); > | ^^^^^^^ > >error: cannot find macro `println` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:116:9 > | >116 | println!("cargo:rustc-cfg=super_unstable"); > | ^^^^^^^ > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:28:9 > | >28 | Some(10) if libc_ci || rustc_dep_of_std => { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:31:9 > | >31 | Some(11) if libc_ci => println!("cargo:rustc-cfg=freebsd11"), > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:32:9 > | >32 | Some(12) if libc_ci => println!("cargo:rustc-cfg=freebsd12"), > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:33:9 > | >33 | Some(13) if libc_ci => println!("cargo:rustc-cfg=freebsd13"), > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:34:9 > | >34 | Some(14) if libc_ci => println!("cargo:rustc-cfg=freebsd14"), > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:35:9 > | >35 | Some(_) | None => println!("cargo:rustc-cfg=freebsd11"), > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:98:29 > | >98 | fn rustc_minor_nightly() -> Option<(u32, bool)> { > | ^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:102:17 > | >102 | Some(e) => e, > | ^^^^ not found in this scope >... >108 | let rustc = otry!(env::var_os("RUSTC")); > | --------------------------- in this macro invocation > | > = note: this error originates in the macro `otry` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:102:17 > | >102 | Some(e) => e, > | ^^^^ not found in this scope >... >109 | let output = otry!(Command::new(rustc).arg("--version").output().ok()); > | --------------------------------------------------------- in this macro invocation > | > = note: this error originates in the macro `otry` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:102:17 > | >102 | Some(e) => e, > | ^^^^ not found in this scope >... >110 | let version = otry!(str::from_utf8(&output.stdout).ok()); > | ------------------------------------------ in this macro invocation > | > = note: this error originates in the macro `otry` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:113:25 > | >113 | if pieces.next() != Some("rustc 1") { > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:114:16 > | >114 | return None; > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:102:17 > | >102 | Some(e) => e, > | ^^^^ not found in this scope >... >124 | let nightly_raw = otry!(pieces.next()).split('-').nth(1); > | -------------------- in this macro invocation > | > = note: this error originates in the macro `otry` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:102:17 > | >102 | Some(e) => e, > | ^^^^ not found in this scope >... >128 | let minor = otry!(otry!(minor).parse().ok()); > | ------------ in this macro invocation > | > = note: this error originates in the macro `otry` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:102:17 > | >102 | Some(e) => e, > | ^^^^ not found in this scope >... >128 | let minor = otry!(otry!(minor).parse().ok()); > | -------------------------------- in this macro invocation > | > = note: this error originates in the macro `otry` (in Nightly builds, run with -Z macro-backtrace for more info) > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:130:5 > | >130 | Some((minor, nightly)) > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:133:23 > | >133 | fn which_freebsd() -> Option<i32> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:136:16 > | >136 | return None; > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:140:16 > | >140 | return None; > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:145:16 > | >145 | return None; > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:150:37 > | >150 | s if s.starts_with("10") => Some(10), > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:151:37 > | >151 | s if s.starts_with("11") => Some(11), > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:152:37 > | >152 | s if s.starts_with("12") => Some(12), > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:153:37 > | >153 | s if s.starts_with("13") => Some(13), > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:154:37 > | >154 | s if s.starts_with("14") => Some(14), > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/libc/build.rs:155:14 > | >155 | _ => None, > | ^^^^ not found in this scope > >Some errors have detailed explanations: E0408, E0412, E0425, E0433, E0531, E0786. >For more information about an error, try `rustc --explain E0408`. >error[E0433]: failed to resolve: use of undeclared crate or module `error` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:144:6 > | >144 | impl error::Error for Error {} > | ^^^^^ use of undeclared crate or module `error` > | >help: there is a crate or module with a similar name > | >144 | impl Error::Error for Error {} > | ~~~~~ > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:146:6 > | >146 | impl fmt::Debug for Error { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:147:27 > | >147 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:147:57 > | >147 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:149:19 > | >149 | <Error as fmt::Display>::fmt(self, f) > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:153:6 > | >153 | impl fmt::Display for Error { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:154:27 > | >154 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:154:57 > | >154 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `io` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:170:21 > | >170 | io::ErrorKind::NotFound => { > | ^^ use of undeclared crate or module `io` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:226:43 > | >226 | fn format_output(output: &Output, f: &mut fmt::Formatter) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0433]: failed to resolve: use of undeclared crate or module `fmt` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:226:62 > | >226 | fn format_output(output: &Output, f: &mut fmt::Formatter) -> fmt::Result { > | ^^^ use of undeclared crate or module `fmt` > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:10:9 > | >10 | Some(compiler) => compiler, > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:36:23 > | >36 | fn rustc_version() -> Option<Compiler> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:41:25 > | >41 | if pieces.next() != Some("rustc 1") { > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:42:16 > | >42 | return None; > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/syn/build.rs:46:5 > | >46 | Some(Compiler { minor, nightly }) > | ^^^^ not found in this scope > >error[E0433]: failed to resolve: use of undeclared type `String` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:227:18 > | >227 | let stdout = String::from_utf8_lossy(&output.stdout); > | ^^^^^^ use of undeclared type `String` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:68:17 > | >68 | let rustc = env::var_os("RUSTC")?; > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `String` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:231:18 > | >231 | let stderr = String::from_utf8_lossy(&output.stderr); > | ^^^^^^ use of undeclared type `String` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:69:19 > | >69 | let out_dir = env::var_os("OUT_DIR")?; > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `process` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:58:9 > | >58 | process::exit(1); > | ^^^^^^^ use of undeclared crate or module `process` > >error[E0433]: failed to resolve: use of undeclared type `Path` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:70:21 > | >70 | let probefile = Path::new(&out_dir).join("probe.rs"); > | ^^^^ use of undeclared type `Path` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:61:19 > | >61 | let docs_rs = env::var_os("DOCS_RS").is_some(); > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:275:26 > | >275 | min_version: Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:276:26 > | >276 | max_version: Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared crate or module `fs` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:71:5 > | >71 | fs::write(&probefile, PROBE).ok()?; > | ^^ use of undeclared crate or module `fs` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:296:28 > | >296 | self.min_version = Bound::Included(vers.to_string()); > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:297:28 > | >297 | self.max_version = Bound::Unbounded; > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:303:28 > | >303 | self.min_version = Bound::Included(vers.to_string()); > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:100:18 > | >100 | let target = env::var("TARGET").unwrap(); > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:304:28 > | >304 | self.max_version = Bound::Included(vers.to_string()); > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:314:13 > | >314 | Bound::Included(vers) => Bound::Included(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:74:42 > | >74 | let mut cmd = if let Some(wrapper) = env::var_os("CARGO_RUSTC_WRAPPER") { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:314:38 > | >314 | Bound::Included(vers) => Bound::Included(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:315:13 > | >315 | Bound::Excluded(vers) => Bound::Excluded(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:315:38 > | >315 | Bound::Excluded(vers) => Bound::Excluded(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:316:13 > | >316 | Bound::Unbounded => Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:316:33 > | >316 | Bound::Unbounded => Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:319:13 > | >319 | Bound::Included(vers) => Bound::Included(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:319:38 > | >319 | Bound::Included(vers) => Bound::Included(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:320:13 > | >320 | Bound::Excluded(vers) => Bound::Excluded(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:320:38 > | >320 | Bound::Excluded(vers) => Bound::Excluded(vers.to_string()), > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:321:13 > | >321 | Bound::Unbounded => Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:321:33 > | >321 | Bound::Unbounded => Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:136:17 > | >136 | let rustc = env::var_os("RUSTC")?; > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:75:23 > | >75 | let mut cmd = Command::new(wrapper); > | ^^^^^^^ use of undeclared type `Command` > >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:137:18 > | >137 | let output = Command::new(rustc).arg("--version").output().ok()?; > | ^^^^^^^ use of undeclared type `Command` > >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:80:9 > | >80 | Command::new(rustc) > | ^^^^^^^ use of undeclared type `Command` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:405:22 > | >405 | let target = env::var_os("TARGET").unwrap_or_default(); > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:406:20 > | >406 | let host = env::var_os("HOST").unwrap_or_default(); > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `Stdio` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:83:16 > | >83 | cmd.stderr(Stdio::null()) > | ^^^^^ use of undeclared type `Stdio` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:93:28 > | >93 | if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:436:16 > | >436 | match (env::var("TARGET"), env::var("HOST")) { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:436:36 > | >436 | match (env::var("TARGET"), env::var("HOST")) { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:160:42 > | >160 | if let Some(encoded_rustflags) = env::var_os("CARGO_ENCODED_RUSTFLAGS") { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:446:18 > | >446 | (Err(env::VarError::NotPresent), _) | (_, Err(env::VarError::NotPresent)) => { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:446:59 > | >446 | (Err(env::VarError::NotPresent), _) | (_, Err(env::VarError::NotPresent)) => { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:449:18 > | >449 | (Err(env::VarError::NotUnicode(s)), _) | (_, Err(env::VarError::NotUnicode(s))) => { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:449:62 > | >449 | (Err(env::VarError::NotUnicode(s)), _) | (_, Err(env::VarError::NotUnicode(s))) => { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:105:17 > | >105 | let rustc = env::var_os("RUSTC")?; > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:462:9 > | >462 | env::var_os(name) > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:165:41 > | >165 | } else if let Some(rustflags) = env::var_os("RUSTFLAGS") { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `OsString` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:472:32 > | >472 | .unwrap_or_else(|| OsString::from("pkg-config")); > | ^^^^^^^^ use of undeclared type `OsString` > >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:106:18 > | >106 | let output = Command::new(rustc).arg("--version").output().ok()?; > | ^^^^^^^ use of undeclared type `Command` > >error[E0433]: failed to resolve: use of undeclared type `Command` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:473:23 > | >473 | let mut cmd = Command::new(exe); > | ^^^^^^^ use of undeclared type `Command` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:496:13 > | >496 | Bound::Included(ref version) => { > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:499:13 > | >499 | Bound::Excluded(ref version) => { > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:505:13 > | >505 | Bound::Included(ref version) => { > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:508:13 > | >508 | Bound::Excluded(ref version) => { > | ^^^^^ use of undeclared type `Bound` > >error[E0433]: failed to resolve: use of undeclared crate or module `iter` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:171:26 > | >171 | flags_none = iter::empty(); > | ^^^^ use of undeclared crate or module `iter` > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:543:26 > | >543 | min_version: Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:52:9 > | >52 | Some(version) => version, > | ^^^^ not found in this scope > >error[E0433]: failed to resolve: use of undeclared type `Bound` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:544:26 > | >544 | max_version: Bound::Unbounded, > | ^^^^^ use of undeclared type `Bound` > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:135:23 > | >135 | fn rustc_version() -> Option<RustcVersion> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:141:25 > | >141 | if pieces.next() != Some("rustc 1") { > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:142:16 > | >142 | return None; > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:145:5 > | >145 | Some(RustcVersion { minor, nightly }) > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Iterator` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:159:25 > | >159 | let flags: &mut dyn Iterator<Item = &str> = > | ^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:160:16 > | >160 | if let Some(encoded_rustflags) = env::var_os("CARGO_ENCODED_RUSTFLAGS") { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/proc-macro2/build.rs:165:23 > | >165 | } else if let Some(rustflags) = env::var_os("RUSTFLAGS") { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:48:13 > | >48 | Some(status) if status.success() => println!("cargo:rustc-cfg=backtrace"), > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:54:9 > | >54 | Some(rustc) => rustc, > | ^^^^ not found in this scope > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:557:19 > | >557 | libs: Vec::new(), > | ^^^ use of undeclared type `Vec` > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:67:23 > | >67 | fn compile_probe() -> Option<ExitStatus> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `ExitStatus` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:67:30 > | >67 | fn compile_probe() -> Option<ExitStatus> { > | - ^^^^^^^^^^ not found in this scope > | | > | help: you might be missing a type parameter: `<ExitStatus>` > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:74:26 > | >74 | let mut cmd = if let Some(wrapper) = env::var_os("CARGO_RUSTC_WRAPPER") { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:93:12 > | >93 | if let Ok(rustflags) = env::var("CARGO_ENCODED_RUSTFLAGS") { > | ^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:104:29 > | >104 | fn rustc_minor_version() -> Option<u32> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:109:25 > | >109 | if pieces.next() != Some("rustc 1") { > | ^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/anyhow/build.rs:110:16 > | >110 | return None; > | ^^^^ not found in this scope > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:558:25 > | >558 | link_paths: Vec::new(), > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:559:28 > | >559 | include_paths: Vec::new(), > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:560:25 > | >560 | frameworks: Vec::new(), > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:561:30 > | >561 | framework_paths: Vec::new(), > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `HashMap` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:562:22 > | >562 | defines: HashMap::new(), > | ^^^^^^^ use of undeclared type `HashMap` > >error[E0433]: failed to resolve: use of undeclared type `String` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:563:22 > | >563 | version: String::new(), > | ^^^^^^ use of undeclared type `String` > >error[E0433]: failed to resolve: use of undeclared crate or module `env` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:570:29 > | >570 | if let Ok(target) = env::var("TARGET") { > | ^^^ use of undeclared crate or module `env` > >error[E0433]: failed to resolve: use of undeclared type `PathBuf` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:582:22 > | >582 | .map(PathBuf::from); > | ^^^^^^^ use of undeclared type `PathBuf` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:595:24 > | >595 | let mut dirs = Vec::new(); > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `PathBuf` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:610:31 > | >610 | dirs.push(PathBuf::from(val)); > | ^^^^^^^ use of undeclared type `PathBuf` > >error[E0433]: failed to resolve: use of undeclared type `PathBuf` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:611:42 > | >611 | self.link_paths.push(PathBuf::from(val)); > | ^^^^^^^ use of undeclared type `PathBuf` > >error[E0433]: failed to resolve: use of undeclared type `PathBuf` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:616:47 > | >616 | self.framework_paths.push(PathBuf::from(val)); > | ^^^^^^^ use of undeclared type `PathBuf` > >error[E0433]: failed to resolve: use of undeclared type `PathBuf` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:619:45 > | >619 | self.include_paths.push(PathBuf::from(val)); > | ^^^^^^^ use of undeclared type `PathBuf` > >error[E0433]: failed to resolve: use of undeclared type `PathBuf` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:667:49 > | >667 | self.include_paths.push(PathBuf::from(inc)); > | ^^^^^^^ use of undeclared type `PathBuf` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:723:20 > | >723 | let mut word = Vec::new(); > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:724:21 > | >724 | let mut words = Vec::new(); > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `String` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:736:32 > | >736 | words.push(String::from_utf8(word).unwrap()); > | ^^^^^^ use of undeclared type `String` > >error[E0433]: failed to resolve: use of undeclared type `Vec` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:737:28 > | >737 | word = Vec::new(); > | ^^^ use of undeclared type `Vec` > >error[E0433]: failed to resolve: use of undeclared type `String` > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:745:20 > | >745 | words.push(String::from_utf8(word).unwrap()); > | ^^^^^^ use of undeclared type `String` > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:84:13 > | >84 | statik: Option<bool>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Bound` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:85:18 > | >85 | min_version: Bound<String>, > | ^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:85:24 > | >83 | pub struct Config { > | - help: you might be missing a type parameter: `<String>` >84 | statik: Option<bool>, >85 | min_version: Bound<String>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Bound` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:86:18 > | >86 | max_version: Bound<String>, > | ^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:86:24 > | >83 | pub struct Config { > | - help: you might be missing a type parameter: `<String>` >... >86 | max_version: Bound<String>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:87:17 > | >87 | extra_args: Vec<OsString>, > | ^^^ not found in this scope > >error[E0412]: cannot find type `OsString` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:87:21 > | >83 | pub struct Config { > | - help: you might be missing a type parameter: `<OsString>` >... >87 | extra_args: Vec<OsString>, > | ^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:96:15 > | >96 | pub libs: Vec<String>, > | ^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:96:19 > | >95 | pub struct Library { > | - help: you might be missing a type parameter: `<String>` >96 | pub libs: Vec<String>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:97:21 > | >97 | pub link_paths: Vec<PathBuf>, > | ^^^ not found in this scope > >error[E0412]: cannot find type `PathBuf` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:97:25 > | >95 | pub struct Library { > | - help: you might be missing a type parameter: `<PathBuf>` >96 | pub libs: Vec<String>, >97 | pub link_paths: Vec<PathBuf>, > | ^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:98:21 > | >98 | pub frameworks: Vec<String>, > | ^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:98:25 > | >95 | pub struct Library { > | - help: you might be missing a type parameter: `<String>` >... >98 | pub frameworks: Vec<String>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:99:26 > | >99 | pub framework_paths: Vec<PathBuf>, > | ^^^ not found in this scope > >error[E0412]: cannot find type `PathBuf` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:99:30 > | >95 | pub struct Library { > | - help: you might be missing a type parameter: `<PathBuf>` >... >99 | pub framework_paths: Vec<PathBuf>, > | ^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:100:24 > | >100 | pub include_paths: Vec<PathBuf>, > | ^^^ not found in this scope > >error[E0412]: cannot find type `PathBuf` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:100:28 > | >95 | pub struct Library { > | - help: you might be missing a type parameter: `<PathBuf>` >... >100 | pub include_paths: Vec<PathBuf>, > | ^^^^^^^ not found in this scope > >error[E0412]: cannot find type `HashMap` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:101:18 > | >101 | pub defines: HashMap<String, Option<String>>, > | ^^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:101:26 > | >95 | pub struct Library { > | - help: you might be missing a type parameter: `<String>` >... >101 | pub defines: HashMap<String, Option<String>>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:101:34 > | >101 | pub defines: HashMap<String, Option<String>>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:101:41 > | >95 | pub struct Library { > | - help: you might be missing a type parameter: `<String>` >... >101 | pub defines: HashMap<String, Option<String>>, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:102:18 > | >102 | pub version: String, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:111:20 > | >111 | EnvNoPkgConfig(String), > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:123:24 > | >123 | Command { command: String, cause: io::Error }, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:128:24 > | >128 | Failure { command: String, output: Output }, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Output` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:128:40 > | >128 | Failure { command: String, output: Output }, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:134:15 > | >134 | name: String, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:135:18 > | >135 | command: String, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Output` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:136:17 > | >136 | output: Output, > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:147:46 > | >147 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:154:46 > | >154 | fn fmt(&self, f: &mut fmt::Formatter) -> Result<(), fmt::Error> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Output` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:226:27 > | >226 | fn format_output(output: &Output, f: &mut fmt::Formatter) -> fmt::Result { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:235:5 > | >235 | Ok(()) > | ^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:240:36 > | >240 | pub fn find_library(name: &str) -> Result<Library, String> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:240:52 > | >240 | pub fn find_library(name: &str) -> Result<Library, String> { > | - ^^^^^^ not found in this scope > | | > | help: you might be missing a type parameter: `<String>` > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:245:37 > | >245 | pub fn probe_library(name: &str) -> Result<Library, Error> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:262:55 > | >262 | pub fn get_variable(package: &str, variable: &str) -> Result<String, Error> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:262:62 > | >262 | pub fn get_variable(package: &str, variable: &str) -> Result<String, Error> { > | - ^^^^^^ not found in this scope > | | > | help: you might be missing a type parameter: `<String>` > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:266:5 > | >266 | Ok(str::from_utf8(&out).unwrap().trim_end().to_owned()) > | ^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:274:21 > | >274 | statik: None, > | ^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:290:23 > | >290 | self.statik = Some(statik); > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `RangeBounds` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:311:12 > | >311 | R: RangeBounds<&'a str>, > | ^^^^^^^^^^^ not found in this scope > >error[E0405]: cannot find trait `AsRef` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:329:19 > | >329 | pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Config { > | ^^^^^ not found in this scope > >error[E0412]: cannot find type `OsStr` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:329:25 > | >269 | impl Config { > | - help: you might be missing a type parameter: `<OsStr>` >... >329 | pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Config { > | ^^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:369:39 > | >369 | pub fn find(&self, name: &str) -> Result<Library, String> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:369:55 > | >269 | impl Config { > | - help: you might be missing a type parameter: `<String>` >... >369 | pub fn find(&self, name: &str) -> Result<Library, String> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:377:40 > | >377 | pub fn probe(&self, name: &str) -> Result<Library, Error> { > | ^^^^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:380:20 > | >380 | return Err(Error::EnvNoPkgConfig(abort_var_name)); > | ^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:382:20 > | >382 | return Err(Error::CrossCompilation); > | ^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:400:9 > | >400 | Ok(library) > | ^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:418:13 > | >418 | Some(ref val) if val == "0" => false, > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:419:13 > | >419 | Some(_) => true, > | ^^^^ not found in this scope > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:431:59 > | >431 | pub fn get_variable(package: &str, variable: &str) -> Result<String, String> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:431:66 > | >269 | impl Config { > | - help: you might be missing a type parameter: `<String>` >... >431 | pub fn get_variable(package: &str, variable: &str) -> Result<String, String> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:431:74 > | >269 | impl Config { > | - help: you might be missing a type parameter: `<String>` >... >431 | pub fn get_variable(package: &str, variable: &str) -> Result<String, String> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:435:52 > | >435 | fn targetted_env_var(&self, var_base: &str) -> Option<OsString> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `OsString` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:435:59 > | >269 | impl Config { > | - help: you might be missing a type parameter: `<OsString>` >... >435 | fn targetted_env_var(&self, var_base: &str) -> Option<OsString> { > | ^^^^^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:437:14 > | >437 | (Ok(target), Ok(host)) => { > | ^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:437:26 > | >437 | (Ok(target), Ok(host)) => { > | ^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:446:14 > | >446 | (Err(env::VarError::NotPresent), _) | (_, Err(env::VarError::NotPresent)) => { > | ^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:446:55 > | >446 | (Err(env::VarError::NotPresent), _) | (_, Err(env::VarError::NotPresent)) => { > | ^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:449:14 > | >449 | (Err(env::VarError::NotUnicode(s)), _) | (_, Err(env::VarError::NotUnicode(s))) => { > | ^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:449:58 > | >449 | (Err(env::VarError::NotUnicode(s)), _) | (_, Err(env::VarError::NotUnicode(s))) => { > | ^^^ not found in this scope > >error[E0412]: cannot find type `Option` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:458:41 > | >458 | fn env_var_os(&self, name: &str) -> Option<OsString> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `OsString` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:458:48 > | >269 | impl Config { > | - help: you might be missing a type parameter: `<OsString>` >... >458 | fn env_var_os(&self, name: &str) -> Option<OsString> { > | ^^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Command` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:469:53 > | >469 | fn command(&self, name: &str, args: &[&str]) -> Command { > | ^^^^^^^ not found in this scope > | >help: there is an enum variant `Error::Command`; try using the variant's enum > | >469 | fn command(&self, name: &str, args: &[&str]) -> Error { > | ~~~~~ > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:479:16 > | >479 | if let Some(value) = self.targetted_env_var("PKG_CONFIG_PATH") { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:482:16 > | >482 | if let Some(value) = self.targetted_env_var("PKG_CONFIG_LIBDIR") { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:485:16 > | >485 | if let Some(value) = self.targetted_env_var("PKG_CONFIG_SYSROOT_DIR") { > | ^^^^ not found in this scope > >error[E0405]: cannot find trait `Default` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:539:6 > | >539 | impl Default for Config { > | ^^^^^^^ not found in this scope > >error[E0425]: cannot find value `None` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:542:21 > | >542 | statik: None, > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:570:16 > | >570 | if let Ok(target) = env::var("TARGET") { > | ^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:585:24 > | >585 | if let Some(sysroot) = sysroot { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:656:19 > | >656 | while let Some(part) = iter.next() { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:659:28 > | >659 | if let Some(lib) = iter.next() { > | ^^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:666:28 > | >666 | if let Some(inc) = iter.next() { > | ^^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:680:26 > | >680 | fn envify(name: &str) -> String { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `PathBuf` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:688:52 > | >688 | fn is_static_available(name: &str, system_roots: &[PathBuf], dirs: &[PathBuf]) -> bool { > | ^^^^^^^ not found in this scope > >error[E0412]: cannot find type `PathBuf` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:688:70 > | >688 | fn is_static_available(name: &str, system_roots: &[PathBuf], dirs: &[PathBuf]) -> bool { > | ^^^^^^^ not found in this scope > >error[E0412]: cannot find type `Command` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:696:17 > | >696 | fn run(mut cmd: Command) -> Result<Vec<u8>, Error> { > | ^^^^^^^ not found in this scope > | >help: there is an enum variant `Error::Command`; try using the variant's enum > | >696 | fn run(mut cmd: Error) -> Result<Vec<u8>, Error> { > | ~~~~~ > >error[E0412]: cannot find type `Result` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:696:29 > | >696 | fn run(mut cmd: Command) -> Result<Vec<u8>, Error> { > | ^^^^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:696:36 > | >696 | fn run(mut cmd: Command) -> Result<Vec<u8>, Error> { > | ^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:698:9 > | >698 | Ok(output) => { > | ^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:700:17 > | >700 | Ok(output.stdout) > | ^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:702:17 > | >702 | Err(Error::Failure { > | ^^^ not found in this scope > >error[E0531]: cannot find tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:708:9 > | >708 | Err(cause) => Err(Error::Command { > | ^^^ not found in this scope > >error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:708:23 > | >708 | Err(cause) => Err(Error::Command { > | ^^^ not found in this scope > >error[E0412]: cannot find type `Vec` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:722:34 > | >722 | fn split_flags(output: &[u8]) -> Vec<String> { > | ^^^ not found in this scope > >error[E0412]: cannot find type `String` in this scope > --> /var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6/vendor/pkg-config/src/lib.rs:722:38 > | >722 | fn split_flags(output: &[u8]) -> Vec<String> { > | - ^^^^^^ not found in this scope > | | > | help: you might be missing a type parameter: `<String>` > >error: build failed >make[2]: *** [Makefile:1565: librsvg_c_api.la] Error 101 >make[2]: Leaving directory '/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64' >make[1]: *** [Makefile:1079: all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64' >make: *** [Makefile:712: all] Error 2 > [31;01m*[0m ERROR: gnome-base/librsvg-2.52.6::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=gnome-base/librsvg-2.52.6::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=gnome-base/librsvg-2.52.6::gentoo'`. > [31;01m*[0m The complete build log is located at '/mnt/cache/portlogs/gnome-base:librsvg-2.52.6:20220307-112126.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/gnome-base/librsvg-2.52.6/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6-abi_x86_64.amd64' > [31;01m*[0m S: '/var/tmp/portage/gnome-base/librsvg-2.52.6/work/librsvg-2.52.6'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 832584
:
764226
|
764227
|
764228
| 766474