Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 658872 Details for
Bug 740782
dev-java/icedtea-web-1.8.4-r1 calls commands that do not exist (html-gen.sh: line 176: bc: command not found)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 163.58 KB, created by
Agostino Sarubbo
on 2020-09-07 06:06:07 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-09-07 06:06:07 UTC
Size:
163.58 KB
patch
obsolete
> * Package: dev-java/icedtea-web-1.8.4-r1 > * Repository: gentoo > * Maintainer: java@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo/gentoo/commit/bbb538cfd9160367a083a8341e6e9877f685bc81 (Sat Sep 5 19:43:49 UTC 2020) >@@@@@ END @@@@@ > > > >emerge --info: >Portage 3.0.5 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) >================================================================= >System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 >KiB Mem: 64359960 total, 33278280 free >KiB Swap: 0 total, 0 free >sh bash 5.0_p18 >ld GNU ld (Gentoo 2.34 p6) 2.34.0 >app-shells/bash: 5.0_p18::gentoo >dev-java/java-config: 2.3.1::gentoo >dev-lang/perl: 5.30.3-r1::gentoo >dev-lang/python: 2.7.18-r1::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo >dev-util/cmake: 3.18.2::gentoo >sys-apps/baselayout: 2.7::gentoo >sys-apps/openrc: 0.42.1::gentoo >sys-apps/sandbox: 2.20::gentoo >sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo >sys-devel/automake: 1.16.2::gentoo >sys-devel/binutils: 2.34-r2::gentoo >sys-devel/gcc: 10.2.0-r1::gentoo >sys-devel/gcc-config: 2.3.2::gentoo >sys-devel/libtool: 2.4.6-r6::gentoo >sys-devel/make: 4.3::gentoo >sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) >sys-libs/glibc: 2.32-r1::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > sync-rsync-verify-jobs: 1 > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 24 > sync-rsync-verify-metamanifest: yes > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* GPL-2 GPL-2-with-linking-exception LGPL-2" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >DISTDIR="/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >MAKEOPTS="-j16 V=1" >PKGDIR="/root/.packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" >Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > > > >>>> Unpacking source... >>>> Unpacking icedtea-web-1.8.4.tar.gz to /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work > * Loading dunce-0.1.1.crate into Cargo registry ... > [ ok ] >>>> Source unpacked in /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work >>>> Preparing source in /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 ... > * Running eautoreconf in '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4' ... > * Running aclocal ... > [ ok ] > * Running autoconf --force ... > [ ok ] > * Running automake --add-missing --copy --force-missing ... > [ ok ] > * Running elibtoolize in: IcedTea-Web-icedtea-web-1.8.4/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 ... > * econf: updating IcedTea-Web-icedtea-web-1.8.4/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating IcedTea-Web-icedtea-web-1.8.4/config.sub with /usr/share/gnuconfig/config.sub >./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/icedtea-web-1.8.4-r1 --htmldir=/usr/share/doc/icedtea-web-1.8.4-r1/html --libdir=/usr/lib64 --disable-native-plugin --program-transform-name=s/^javaws$/itweb-javaws/ --with-java=/usr/bin/java --with-jdk-home=/etc/java-config-2/current-system-vm --with-itw-libs=DISTRIBUTION --without-rhino --without-tagsoup --disable-docs >checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/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 how to create a pax tar archive... gnutar >checking whether to enable maintainer-specific portions of Makefiles... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking if cp supports --reflink... yes >checking if we can hard link rather than copy from /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4... yes >checking whether to build documentation... no >checking whether to filter by whitelisting on directory name when processing, compiling and running reproducers... no >checking for bash... /bin/bash >checking where to place file with modular switches... ${exec_prefix}/bin >checking whether build legacy shell launchers... no >checking for rustc... /usr/bin/rustc >checking for cargo... /usr/bin/cargo >checking whether to include also bat lunchers during linux build... no >checking whether enable rust code coverage... no >checking how to search for libraries in native launchers... DISTRIBUTION >checking whether to compile ecj natively... no >checking for x86_64-pc-linux-gnu-zip... no >checking for zip... /usr/bin/zip >checking for a JDK home directory... /etc/java-config-2/current-system-vm (link to /opt/icedtea-bin-3.16.0) >checking for javac... /etc/java-config-2/current-system-vm/bin/javac >checking for ecj... no >checking for ecj-3.1... no >checking for ecj-3.2... no >checking for ecj-3.3... no >checking if we are using ecj as javac... no >checking for jar... /etc/java-config-2/current-system-vm/bin/jar >checking whether jar supports @<file> argument... yes >checking whether jar supports stdin file arguments... no >checking whether jar supports -J options at the end... yes >checking for an ecj JAR file... no >checking for a JRE home directory... /etc/java-config-2/current-system-vm/jre (link to /opt/icedtea-bin-3.16.0/jre) >checking for a Java virtual machine... /usr/bin/java >checking JDK version... 8 >checking for javadoc... /etc/java-config-2/current-system-vm/bin/javadoc >checking whether javadoc supports -J options... yes >checking for keytool... /etc/java-config-2/current-system-vm/bin/keytool >checking for jarsigner... /etc/java-config-2/current-system-vm/bin/jarsigner >checking for pack200... /etc/java-config-2/current-system-vm/bin/pack200 >checking for x86_64-pc-linux-gnu-hg... no >checking for hg... no >checking for distribution package version... none >checking what version string to use... 1.8.4 >checking whether to build the browser plugin... no >checking whether make supports the include directive... yes (GNU style) >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 whether to build plugin jar for javaws -html... yes >checking if java.util.jar.Pack200 is available from some.pkg (module "")... yes >checking if java.net.CookieManager is available from some.pkg (module "")... yes >checking if java.net.HttpCookie is available from some.pkg (module "")... yes >checking if java.net.CookieHandler is available from some.pkg (module "")... yes >checking if sun.security.util.SecurityConstants is available from some.pkg (module "")... yes >checking if sun.security.util.HostnameChecker is available from some.pkg (module "")... yes >checking if sun.security.x509.X500Name is available from some.pkg (module "")... yes >checking if sun.security.action.GetPropertyAction is available from some.pkg (module "")... yes >checking if sun.misc.HexDumpEncoder is available from some.pkg (module "")... yes >checking if sun.misc.JarIndex is available from some.pkg (module "")... yes >checking if sun.misc.Launcher is available from some.pkg (module "")... yes >checking if sun.security.validator.ValidatorException is available from some.pkg (module "")... yes >checking if com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager is available from some.pkg (module "")... yes >checking if sun.net.www.protocol.jar.URLJarFile is available from some.pkg (module "")... yes >checking if sun.net.www.protocol.jar.URLJarFileCallBack is available from some.pkg (module "")... yes >checking if sun.awt.X11.XEmbeddedFrame is available from some.pkg (module "")... yes >checking if com.sun.jndi.toolkit.url.UrlUtil is available from some.pkg (module "")... yes >checking if sun.net.www.protocol.http.Handler is available from some.pkg (module "")... yes >checking if sun.applet.AppletImageRef is available from sun.applet (module "")... yes >checking if selected classes, fields and methods from sun.applet are accessible via reflection... yes >checking for GLIB2_V_216... yes >checking for legacy xulrunner api... yes >checking for xulrunner enforcing C++11 standard... yes >checking for xsltproc... xsltproc >checking for x86_64-pc-linux-gnu-firefox... no >checking for firefox... no >checking for x86_64-pc-linux-gnu-google-chrome... no >checking for google-chrome... no >checking for x86_64-pc-linux-gnu-chromium-browser... no >checking for chromium-browser... no >checking for x86_64-pc-linux-gnu-opera... no >checking for opera... no >checking for x86_64-pc-linux-gnu-midori... no >checking for midori... no >checking for x86_64-pc-linux-gnu-epiphany... no >checking for epiphany... no >checking how browser test will be run... yes >checking for rhino jar... no >checking for junit jar... no >checking for hamcrest jar... no >checking for jacoco jar... no >checking for asm jar... no >checking for tagsoup... no >checking for mslinks... >checking for wixgen jar... no >checking for MSI deps... No WiX tools, nor wixgen jar, correct - build on linux or on windows witout MSI >destroying gcc config? ... destroyed! >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating netx.manifest >config.status: creating jrunscript >config.status: creating build.properties >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 ... >make -j16 V=1 -j1 >find /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx -name '*.java' | sort > netx-source-files.txt ; \ >for src in net.sourceforge.jnlp.MalformedXMLParser.java net.sourceforge.jnlp.util.WindowsDesktopEntry.java ; \ >do \ > sed -i "/${src}/ d" netx-source-files.txt ; \ >done >sed -i '/RhinoBasedPacEvaluator/ d' netx-source-files.txt >(cd $NETX_SRCDIR/..; \ >mkdir -p html-gen; \ >cp AUTHORS NEWS COPYING ChangeLog html-gen/; \ >export HTML_GEN_DEBUG=true; \ >/bin/bash html-gen.sh 140; \ >unset HTML_GEN_DEBUG) >Generating HTML content for javaws -about. 140 changesets, 2 news items >Starting sed substitutions >Processing NEWS... >NEWS.html finished. >Processing AUTHORS... >AUTHORS.html finished. >Processing COPYING... >COPYING.html finished. >Processing ChangeLog... >ChangeLog.html finished. >Done sed subs. Starting in-place additions >Done. Starting formatting (bolding, mailto and hyperlink creation) >Processing NEWS.html... >NEWS.html finished >Processing ChangeLog.html... >ChangeLog.html finished >HTML generation complete >html-gen.sh: line 176: bc: command not found >Total elapsed time: >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx/../html-gen/*.html /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx/net/sourceforge/jnlp/resources >rm -r /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx/../html-gen/ >mkdir -p stamps >touch stamps/netx-html-gen.stamp >mkdir -p /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build >/etc/java-config-2/current-system-vm/bin/javac -g -encoding utf-8 -source 8 -target 8 \ > -d /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build \ > -sourcepath /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx \ > -classpath "no" \ > @netx-source-files.txt >Note: Some input files use or override a deprecated API. >Note: Recompile with -Xlint:deprecation for details. >Note: Some input files use unchecked or unsafe operations. >Note: Recompile with -Xlint:unchecked for details. >(cd /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx/net/sourceforge/jnlp/resources; \ > for files in $(find . -type f); \ > do \ > /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 -D ${files} \ > /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/net/sourceforge/jnlp/resources/${files}; \ > done) >cp "-av" /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx/net/sourceforge/jnlp/runtime/pac-funcs.js \ > /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/net/sourceforge/jnlp/runtime >'/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx/net/sourceforge/jnlp/runtime/pac-funcs.js' -> '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/net/sourceforge/jnlp/runtime/pac-funcs.js' >cp "-av" build.properties /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/net/sourceforge/jnlp/ >'build.properties' -> '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/net/sourceforge/jnlp/build.properties' >mkdir -p stamps >touch stamps/netx.stamp >mkdir -p "/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/icedtea-web-docs/1.8.4" ; \ >HTML_DOCS_TARGET_DIR="/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/icedtea-web-docs/1.8.4/html" ; \ >PLAIN_DOCS_TARGET_DIR="/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/icedtea-web-docs/1.8.4/plain" ; \ >MAN_DOCS_TARGET_DIR="/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/icedtea-web-docs/1.8.4/man" ; \ >AUTHORS_FILE_TARGET="/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/AUTHORS" ; \ >mkdir "$HTML_DOCS_TARGET_DIR" ; \ >mkdir "$PLAIN_DOCS_TARGET_DIR" ; \ >mkdir "$MAN_DOCS_TARGET_DIR" ; \ >HTML_DOCS_INDEX="$HTML_DOCS_TARGET_DIR/index.html" ; \ >TP_COMMAND="/etc/java-config-2/current-system-vm/jre/bin/java -cp /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build net.sourceforge.jnlp.util.docprovider.TextsProvider" ; \ >TP_TAIL="false 1.8.4" ; \ >LANG_BACKUP=$LANG ; \ >echo "<html><head><title>IcedTea-Web 1.8.4</title></head>" > "$HTML_DOCS_INDEX" ; \ >echo "<body><h3>IcedTea-Web 1.8.4 docs:</h3>" >> "$HTML_DOCS_INDEX" ; \ >for LANG_ID in en_US.UTF-8 cs_CZ.UTF-8 pl_PL.UTF-8 de_DE.UTF-8 ; do \ > ID=`echo "$LANG_ID" | head -c 2` ; \ > ENCOD=`echo "$LANG_ID" | tail -c 6 -` ; \ > export LANG=$LANG_ID; \ > mkdir "$HTML_DOCS_TARGET_DIR/$ID" ; \ > echo "<li><a href='$ID/icedtea-web.html'>$LANG_ID</a></li>" >> "$HTML_DOCS_INDEX" ; \ > $TP_COMMAND html "$HTML_DOCS_TARGET_DIR/$ID" $TP_TAIL "-authorFile=$AUTHORS_FILE_TARGET" ; \ > mkdir "$PLAIN_DOCS_TARGET_DIR/$ID" ; \ > $TP_COMMAND plain "$PLAIN_DOCS_TARGET_DIR/$ID" 160 $TP_TAIL "-authorFile=$AUTHORS_FILE_TARGET" ; \ > if [ $ID = "en" ] ; then \ > MAN_DESC="$MAN_DOCS_TARGET_DIR/man1" ; \ > else \ > MAN_DESC="$MAN_DOCS_TARGET_DIR/$ID/man1" ; \ > fi ; \ > mkdir -p "$MAN_DESC" ; \ > $TP_COMMAND man $ENCOD "$MAN_DESC" $TP_TAIL "-authorFile=$AUTHORS_FILE_TARGET" ; \ > $TP_COMMAND htmlIntro "/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/net/sourceforge/jnlp/resources/about_$ID.html" $TP_TAIL; \ >done ; \ >export LANG=$LANG_BACKUP ; \ >echo "</body></html>" >> $HTML_DOCS_INDEX ; \ >touch stamps/generate-docs.stamp >OPTIONS_COMMAND="/etc/java-config-2/current-system-vm/jre/bin/java -cp /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build net.sourceforge.jnlp.OptionsDefinitions" ; \ >OPTIONS=`$OPTIONS_COMMAND itweb-settings`; \ >echo $OPTIONS ; \ >cat /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/itweb-settings.bash.in | \ >sed "s/@OPTIONS@/${OPTIONS}/" > /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/itweb-settings.bash ; >-help -list -get -info -set -reset -reset -headless -check -verbose >OPTIONS_COMMAND="/etc/java-config-2/current-system-vm/jre/bin/java -cp /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build net.sourceforge.jnlp.OptionsDefinitions" ; \ >OPTIONS=`$OPTIONS_COMMAND javaws` ; \ >echo $OPTIONS ; \ >cat /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/javaws.bash.in | \ >sed "s/@OPTIONS@/${OPTIONS}/" > /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/javaws.bash ; >-version -arg -param -property -update -verbose -nosecurity -noupdate -headless -strict -xml -allowredirect -Xnofork -Xignoreheaders -Xoffline -Xtrustnone -jnlp -html -browser -about -viewer -Xclearcache -Xcacheids -license -help -Xtrustall >OPTIONS_COMMAND="/etc/java-config-2/current-system-vm/jre/bin/java -cp /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build net.sourceforge.jnlp.OptionsDefinitions" ; \ >OPTIONS=`$OPTIONS_COMMAND policyeditor` ; \ >echo $OPTIONS ; \ >cat /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/policyeditor.bash.in | \ >sed "s/@OPTIONS@/${OPTIONS}/" > /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/policyeditor.bash ; >-help -file -defaultfile -codebase -signedby -principals -verbose >mkdir -p /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/metadata-work ; \ >METAFILES=`ls ./metadata.in` ; \ >SEDDED_VERSION=`echo "1.8.4" | sed 's/[^0-9]\+/ /g'` ; \ >x=0; for i in $SEDDED_VERSION ; do \ > let x++; \ > if [ $x -eq 1 ] ; then V1=$i; fi; \ > if [ $x -eq 2 ] ; then V2=$i; fi; \ >done; \ >XVERSION=$V1.$V2; \ >for F in $METAFILES ; do \ > cat ./metadata.in/$F | sed "s;%{name};icedtea-web;g" | sed "s;%{version};$XVERSION;g" > /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/metadata-work/$F ; \ >done ; \ >mv /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/metadata-work /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/metadata ; >(cd /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build ; \ > mkdir -p lib ; \ > /etc/java-config-2/current-system-vm/bin/jar cfm lib/classes.jar \ > /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.manifest javax/jnlp net sun; \ > cp -pPR -l /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx src; \ > find src -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}' ';'; \ > cd src ; \ > /usr/bin/zip -qr /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/lib/src.zip javax net sun) >mkdir -p stamps >touch stamps/netx-dist.stamp >echo "Using XEmbeddedFrame" ; >Using XEmbeddedFrame >if test "xnetscape sun/applet" != x; then \ > find /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/plugin/icedteanp/java -name '*.java' | sort > liveconnect-source-files.txt ; \ >fi ; \ >touch liveconnect-source-files.txt >if test "xnetscape sun/applet" != x; then \ > mkdir -p /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/liveconnect && \ > /etc/java-config-2/current-system-vm/bin/javac -g -encoding utf-8 -source 8 -target 8 \ > -d /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/liveconnect \ > -classpath "/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build:no" \ > -sourcepath /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/plugin/icedteanp/java \ > @liveconnect-source-files.txt ; \ >fi >mkdir -p stamps >touch stamps/liveconnect.stamp >if test "xnetscape sun/applet" != x; then \ > (cd /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/liveconnect ; \ > mkdir -p lib ; \ > /etc/java-config-2/current-system-vm/bin/jar cf lib/classes.jar netscape sun/applet ; \ > /etc/java-config-2/current-system-vm/bin/jar cf lib/classes-applet.jar sun/applet ; \ > /etc/java-config-2/current-system-vm/bin/jar cf lib/classes-jsobject.jar netscape ; \ > cp -pPR -l /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/plugin/icedteanp/java src; \ > find src -type f -exec chmod 640 '{}' ';' -o -type d -exec chmod 750 '{}' ';'; \ > cd src ; \ > /usr/bin/zip -qr /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/liveconnect/lib/src.zip netscape sun/applet ) ; \ >fi >mkdir -p stamps >touch stamps/liveconnect-dist.stamp >mkdir -p stamps >touch stamps/plugin.stamp >mkdir -p stamps >touch stamps/netx-docs.stamp >mkdir -p stamps >touch stamps/plugin-docs.stamp >touch stamps/docs.stamp >mkdir -p launcher.build >cp ./itw-modularjdk.args launcher.build/itw-modularjdk.args >export ITW_TMP_REPLACEMENT=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/tests.build/rust_tests_tmp ; \ >mkdir -p $ITW_TMP_REPLACEMENT; \ >filename=`basename launcher.build/itweb-javaws` ; \ >type=${filename%.*} ; \ >srcs=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/rust-launcher ; \ >outs=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.$type ; \ >mkdir -p launcher.build ; \ >cp -r $srcs $outs ; \ >pushd $outs ; \ > export JAVA=/usr/bin/java ; \ > export JRE=/etc/java-config-2/current-system-vm/jre ; \ > export SPLASH_PNG=/usr/share/icedtea-web/javaws_splash.png ; \ > export ITW_LIBS=DISTRIBUTION ; \ > export PLUGIN_JAR=/usr/share/icedtea-web/plugin.jar ; \ > export NETX_JAR=/usr/share/icedtea-web/javaws.jar ; \ > export JSOBJECT_JAR=/usr/share/icedtea-web/jsobject.jar ; \ > export TAGSOUP_JAR=no ; \ > export RHINO_JAR= ; \ > export MSLINKS_JAR= ; \ > export MODULARJDK_ARGS_LOCATION=/usr/bin/itw-modularjdk.args ; \ > unset MAIN_CLASS ; \ > unset BIN_LOCATION ; \ > unset PROGRAM_NAME ; \ > if [ $filename = itweb-javaws ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.runtime.Boot ; \ > export BIN_LOCATION=/usr/bin/itweb-javaws ; \ > export PROGRAM_NAME=itweb-javaws ; \ > fi ; \ > if [ $filename = itweb-settings ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.controlpanel.CommandLine ; \ > export BIN_LOCATION=/usr/bin/itweb-settings ; \ > export PROGRAM_NAME=itweb-settings ; \ > fi ; \ > if [ $filename = policyeditor ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.security.policyeditor.PolicyEditor ; \ > export BIN_LOCATION=/usr/bin/policyeditor ; \ > export PROGRAM_NAME=policyeditor ; \ > fi ; \ > /usr/bin/cargo test ; \ > r=$? ; \ > /usr/bin/cargo build --release ; \ >popd ;\ >cp -v $outs/target/release/launcher launcher.build/itweb-javaws ; \ >if [ $r -ne 0 ] ; then \ > mv launcher.build/itweb-javaws launcher.build/itweb-javaws.broken ; \ >fi; \ >exit $r >/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 > Compiling launcher v1.8.0 (/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws) > Running `rustc --crate-name launcher src/main.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=24a20f97e242ccd9 -C extra-filename=-24a20f97e242ccd9 --out-dir /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws/target/debug/deps -C incremental=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws/target/debug/incremental -L dependency=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws/target/debug/deps` >warning: trait objects without an explicit `dyn` are deprecated > --> src/hardcoded_paths.rs:127:31 > | >127 | pub fn get_libsearch(logger: &os_access::Os) -> ItwLibSearch { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > | > = note: `#[warn(bare_trait_objects)]` on by default > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:21:38 > | >21 | fn validate(&self, s: &str, os: &os_access::Os) -> bool; > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:29:38 > | >29 | fn validate(&self, s: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:45:39 > | >45 | fn validate(&self, s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:60:40 > | >60 | fn validate(&self, _s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:118:40 > | >118 | fn verify_jdk_string(spath: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:7:29 > | >7 | pub fn create_java_cmd(os: &Os,jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Command { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:28:28 > | >28 | fn spawn_java_process(os: &Os, jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Child { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:15:32 > | >15 | pub fn get_xdg_config_dir(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:43:33 > | >43 | pub fn get_itw_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:47:40 > | >47 | pub fn get_itw_legacy_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:52:47 > | >52 | pub fn get_itw_legacy_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:56:40 > | >56 | pub fn get_itw_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:13:29 > | >13 | fn get_basic_array(logger: &os_access::Os) -> [Option<std::path::PathBuf>; 4] { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:24:41 > | >24 | pub fn try_jdk_from_properties(logger: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:28:50 > | >28 | pub fn try_main_verbose_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:40:49 > | >40 | pub fn try_log_to_file_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:52:52 > | >52 | pub fn try_log_to_streams_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:64:51 > | >64 | pub fn try_log_to_system_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:87:47 > | >87 | pub fn try_logtarget_from_properties(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:111:59 > | >111 | pub fn try_direct_key_from_properties(key: &str, logger: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:43 > | >124 | fn try_key_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>], key: &str, validator: &property_from_file:... > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:119 > | >124 | ...], key: &str, validator: &property_from_file::Validator) -> Option<String> { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn property_from_file::Validator` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:163:47 > | >163 | fn try_jdk_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>]) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:11:22 > | >11 | pub fn find_jre(os: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:96:41 > | >96 | fn get_jdk_from_path_conditionally(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:100:123 > | >100 | ...arch: hardcoded_paths::ItwLibSearch, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:113:73 > | >113 | fn get_jdk_from_given_path_testable(system_path: Option<OsString>, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:25:34 > | >25 | pub fn resolve_argsfile(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:29:34 > | >29 | pub fn resolve_jsobject(logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:41:32 > | >41 | pub fn resolve_splash(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:45:82 > | >45 | fn try_jar_in_subdirs(dir: &std::path::PathBuf, name: &std::ffi::OsStr, logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:61:52 > | >61 | fn resolve_jar(full_hardcoded_path: &str, logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:124:55 > | >124 | fn append_if_exists(value: Option<&'static str>, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:150:35 > | >150 | fn filter_out_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:161:34 > | >161 | fn filter_in_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:167:59 > | >167 | fn get_bootcp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:187:55 > | >187 | fn get_cp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:203:62 > | >203 | fn compose_class_path(members: Vec<std::path::PathBuf>, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:214:58 > | >214 | pub fn get_classpath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:218:62 > | >218 | pub fn get_bootclasspath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:16:34 > | >16 | pub fn log_impl(level: i32, os: &os_access::Os, s: &str) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:87:22 > | >87 | pub fn load(os: &os_access::Os) -> AdvancedLogging { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:113:97 > | >113 | fn compose_arguments(java_dir: &std::path::PathBuf, original_args: &std::vec::Vec<String>, os: &os_access::Os) -> Vec<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:182:24 > | >182 | fn is_modular_jdk(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:192:21 > | >192 | fn jdk_version(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> i32 { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:226:26 > | >226 | fn resolve_argsfile(os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:236:34 > | >236 | fn get_jsobject_patchmodule(os: &os_access::Os) -> Option<(String, String)> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:254:20 > | >254 | fn get_splash(os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:260:69 > | >260 | fn get_splash_testable(headless: bool, splash_forbidden: bool, os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:295:103 > | >295 | fn include_dashJs_values(srcs: &Vec<std::string::String>, target: &mut Vec<std::string::String>, os: &os_access::Os) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred > --> src/utils.rs:173:52 > | >173 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; > | ^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(deprecated)]` on by default > >warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred > --> src/utils.rs:324:39 > | >324 | static TMP_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; > | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` > >warning: unused variable: `s` > --> src/utils.rs:259:30 > | >259 | fn system_log(&self, s: &str){ panic!("not implemented"); } > | ^ help: if this is intentional, prefix it with an underscore: `_s` > | > = note: `#[warn(unused_variables)]` on by default > >warning: variable does not need to be mutable > --> src/property_from_files_resolver.rs:96:17 > | >96 | let mut cfgdir_candidate = logger.get_user_config_dir(); > | ----^^^^^^^^^^^^^^^^ > | | > | help: remove this `mut` > | > = note: `#[warn(unused_mut)]` on by default > >warning: variable does not need to be mutable > --> src/jars_helper.rs:266:13 > | >266 | let mut empty: Vec<std::path::PathBuf> = Vec::new(); > | ----^^^^^ > | | > | help: remove this `mut` > >warning: variable does not need to be mutable > --> src/jars_helper.rs:277:13 > | >277 | let mut empty: Vec<std::path::PathBuf> = Vec::new(); > | ----^^^^^ > | | > | help: remove this `mut` > >warning: unused `std::result::Result` that must be used > --> src/hardcoded_paths.rs:136:17 > | >136 | ... write!(&mut info, "ITW-LIBS provided, but have invalid value of {}. Use BUNDLED, DISTRIBUTION or EMBEDDED", result_of_override_var); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(unused_must_use)]` on by default > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/jars_helper.rs:81:17 > | >81 | ... write!(&mut info1, "custom ITW_HOME provided, but do not exists or is not directory: {}", &(dirs_paths_helper::path_to_string(&custom_dir))); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:41:17 > | >41 | std::fs::create_dir_all(os.advanced_logging().log_target_file.parent().expect("hard to imagine log file without parent")); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:52:17 > | >52 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:64:9 > | >64 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: 62 warnings emitted > > Finished test [unoptimized + debuginfo] target(s) in 1.57s > Running `/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws/target/debug/deps/launcher-24a20f97e242ccd9` > >running 65 tests >test dirs_paths_helper::tests::check_config_files_paths_global ... [32mok[m >test dirs_paths_helper::tests::check_config_files_paths ... [32mok[m >test dirs_paths_helper::tests::check_legacy_config_files_paths ... [32mok[m >test dirs_paths_helper::tests::is_not_dir ... [32mok[m >test dirs_paths_helper::tests::is_not_file ... [32mok[m >test hardcoded_paths::tests::get_itwlibsearch_in_enumeration ... [32mok[m >test hardcoded_paths::tests::itw_libsearch_to_enum_test ... [32mok[m >test hardcoded_paths::tests::variables_non_default ... [32mok[m >test hardcoded_paths::tests::variables_non_empty ... [32mok[m >test jars_helper::tests::compose_class_path_test_empty ... [32mok[m >test jars_helper::tests::compose_class_path_test_one ... [32mok[m >test jars_helper::tests::compose_class_path_test_two ... [32mok[m >test jars_helper::tests::compose_class_path_test_three ... [32mok[m >test jars_helper::tests::filter_in_val_test2 ... [32mok[m >test jars_helper::tests::filter_in_val_test1 ... [32mok[m >test jars_helper::tests::filter_out_val_test2 ... [32mok[m >test jars_helper::tests::filter_out_val_test1 ... [32mok[m >test property::tests::check_property ... [32mok[m >test property::tests::checked_split ... [32mok[m >test property::tests::split_property_colon_delimiter ... [32mok[m >test property::tests::split_property_equals_delimiter ... [32mok[m >test property::tests::split_property_mixed_delimiter ... [32mok[m >test property::tests::split_property_nodelimiter ... [32mok[m >test property::tests::split_property_reals ... [32mok[m >test property::tests::split_property_trimming ... [32mok[m >test property_from_file::tests::get_jre_from_file_none ... [32mok[m >test property_from_file::tests::str_to_bool_false ... [32mok[m >test property_from_file::tests::verify_bool_string_false ... [32mok[m >test property_from_file::tests::verify_bool_string_true ... [32mok[m >test property_from_file::tests::str_to_bool_true ... [32mok[m >test dirs_paths_helper::tests::is_dir ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4nonexisting ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4nothing ... [32mok[m >test dirs_paths_helper::tests::is_not_dir_is_file ... [32mok[m >test property_from_file::tests::get_jre_from_file_notexists ... [32mok[m >test dirs_paths_helper::tests::is_file ... [32mok[m >test tests_main::clean_param_test ... [32mok[m >test property_from_file::tests::check_file_for_property_jredir_not_found ... [32mok[m >test tests_main::get_splash_test ... [32mok[m >test tests_main::include_dashJs_values_test_empty ... [32mok[m >test tests_main::compose_arguments_test ... [32mok[m >test tests_main::include_dashJs_valuess_test ... [32mok[m >test tests_main::include_not_dashJs_test ... [32mok[m >test tests_main::include_not_dashJs_test_empty ... [32mok[m >test tests_main::is_debug_on_test ... [32mok[m >test tests_main::is_headless_enforced_test ... [32mok[m >test tests_main::is_splash_forbidden_test ... [32mok[m >test property_from_file::tests::get_jre_from_file_not_found ... [32mok[m >test dirs_paths_helper::tests::is_not_file_is_dir ... [32mok[m >test property::tests::check_load_item_exists ... [32mok[m >test property_from_file::tests::check_file_for_property_item_exists ... [32mok[m >test utils::tests_utils::try_none_jre_from_path ... [32mok[m >test property_from_file::tests::check_file_for_property_not_found ... [32mok[m >test property::tests::check_load_not_found ... [32mok[m >test property_from_file::tests::check_file_for_property_jredir ... [32mok[m >test property_from_file::tests::verify_jdk_string_verify_jdk_path_jdk_bad ... [32mok[m >test property_from_file::tests::get_jre_from_file_exists ... [32mok[m >test property_from_file::tests::verify_jdk_string_verify_jdk_path_jdk_ok ... [32mok[m >test utils::tests_utils::try_jre_dir_java_on_path_but_no_bin ... [32mok[m >test utils::tests_utils::try_jre_dir_on_path_exists_but_no_java ... [32mok[m >test utils::tests_utils::try_jre_exists_on_path ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4empty ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_invalid_jdk ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_none_and_valid ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_none_and_more_valid ... [32mok[m > >test result: [32mok[m. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out > > Compiling launcher v1.8.0 (/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws) > Running `rustc --crate-name launcher src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=e09ea4964537f373 -C extra-filename=-e09ea4964537f373 --out-dir /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws/target/release/deps -L dependency=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws/target/release/deps` >warning: trait objects without an explicit `dyn` are deprecated > --> src/hardcoded_paths.rs:127:31 > | >127 | pub fn get_libsearch(logger: &os_access::Os) -> ItwLibSearch { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > | > = note: `#[warn(bare_trait_objects)]` on by default > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:21:38 > | >21 | fn validate(&self, s: &str, os: &os_access::Os) -> bool; > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:29:38 > | >29 | fn validate(&self, s: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:45:39 > | >45 | fn validate(&self, s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:60:40 > | >60 | fn validate(&self, _s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:118:40 > | >118 | fn verify_jdk_string(spath: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:7:29 > | >7 | pub fn create_java_cmd(os: &Os,jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Command { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:28:28 > | >28 | fn spawn_java_process(os: &Os, jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Child { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:15:32 > | >15 | pub fn get_xdg_config_dir(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:43:33 > | >43 | pub fn get_itw_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:47:40 > | >47 | pub fn get_itw_legacy_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:52:47 > | >52 | pub fn get_itw_legacy_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:56:40 > | >56 | pub fn get_itw_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:13:29 > | >13 | fn get_basic_array(logger: &os_access::Os) -> [Option<std::path::PathBuf>; 4] { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:24:41 > | >24 | pub fn try_jdk_from_properties(logger: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:28:50 > | >28 | pub fn try_main_verbose_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:40:49 > | >40 | pub fn try_log_to_file_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:52:52 > | >52 | pub fn try_log_to_streams_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:64:51 > | >64 | pub fn try_log_to_system_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:87:47 > | >87 | pub fn try_logtarget_from_properties(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:111:59 > | >111 | pub fn try_direct_key_from_properties(key: &str, logger: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:43 > | >124 | fn try_key_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>], key: &str, validator: &property_from_file:... > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:119 > | >124 | ...], key: &str, validator: &property_from_file::Validator) -> Option<String> { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn property_from_file::Validator` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:11:22 > | >11 | pub fn find_jre(os: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:96:41 > | >96 | fn get_jdk_from_path_conditionally(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:100:123 > | >100 | ...arch: hardcoded_paths::ItwLibSearch, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:113:73 > | >113 | fn get_jdk_from_given_path_testable(system_path: Option<OsString>, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:25:34 > | >25 | pub fn resolve_argsfile(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:29:34 > | >29 | pub fn resolve_jsobject(logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:41:32 > | >41 | pub fn resolve_splash(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:45:82 > | >45 | fn try_jar_in_subdirs(dir: &std::path::PathBuf, name: &std::ffi::OsStr, logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:61:52 > | >61 | fn resolve_jar(full_hardcoded_path: &str, logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:124:55 > | >124 | fn append_if_exists(value: Option<&'static str>, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:150:35 > | >150 | fn filter_out_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:161:34 > | >161 | fn filter_in_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:167:59 > | >167 | fn get_bootcp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:187:55 > | >187 | fn get_cp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:203:62 > | >203 | fn compose_class_path(members: Vec<std::path::PathBuf>, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:214:58 > | >214 | pub fn get_classpath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:218:62 > | >218 | pub fn get_bootclasspath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:16:34 > | >16 | pub fn log_impl(level: i32, os: &os_access::Os, s: &str) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:87:22 > | >87 | pub fn load(os: &os_access::Os) -> AdvancedLogging { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:113:97 > | >113 | fn compose_arguments(java_dir: &std::path::PathBuf, original_args: &std::vec::Vec<String>, os: &os_access::Os) -> Vec<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:182:24 > | >182 | fn is_modular_jdk(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:192:21 > | >192 | fn jdk_version(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> i32 { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:226:26 > | >226 | fn resolve_argsfile(os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:236:34 > | >236 | fn get_jsobject_patchmodule(os: &os_access::Os) -> Option<(String, String)> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:254:20 > | >254 | fn get_splash(os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:260:69 > | >260 | fn get_splash_testable(headless: bool, splash_forbidden: bool, os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:295:103 > | >295 | fn include_dashJs_values(srcs: &Vec<std::string::String>, target: &mut Vec<std::string::String>, os: &os_access::Os) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: variable does not need to be mutable > --> src/property_from_files_resolver.rs:96:17 > | >96 | let mut cfgdir_candidate = logger.get_user_config_dir(); > | ----^^^^^^^^^^^^^^^^ > | | > | help: remove this `mut` > | > = note: `#[warn(unused_mut)]` on by default > >warning: constant is never used: `JAVA` > --> src/hardcoded_paths.rs:11:1 > | >11 | const JAVA: Option<&'static str> = option_env!("JAVA"); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(dead_code)]` on by default > >warning: function is never used: `get_java` > --> src/hardcoded_paths.rs:29:8 > | >29 | pub fn get_java() -> &'static str { > | ^^^^^^^^ > >warning: unused `std::result::Result` that must be used > --> src/hardcoded_paths.rs:136:17 > | >136 | ... write!(&mut info, "ITW-LIBS provided, but have invalid value of {}. Use BUNDLED, DISTRIBUTION or EMBEDDED", result_of_override_var); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(unused_must_use)]` on by default > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/jars_helper.rs:81:17 > | >81 | ... write!(&mut info1, "custom ITW_HOME provided, but do not exists or is not directory: {}", &(dirs_paths_helper::path_to_string(&custom_dir))); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:41:17 > | >41 | std::fs::create_dir_all(os.advanced_logging().log_target_file.parent().expect("hard to imagine log file without parent")); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:52:17 > | >52 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:64:9 > | >64 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: 58 warnings emitted > > Finished release [optimized] target(s) in 1.31s >/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 >'/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-javaws/target/release/launcher' -> 'launcher.build/itweb-javaws' >export ITW_TMP_REPLACEMENT=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/tests.build/rust_tests_tmp ; \ >mkdir -p $ITW_TMP_REPLACEMENT; \ >filename=`basename launcher.build/itweb-settings` ; \ >type=${filename%.*} ; \ >srcs=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/rust-launcher ; \ >outs=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.$type ; \ >mkdir -p launcher.build ; \ >cp -r $srcs $outs ; \ >pushd $outs ; \ > export JAVA=/usr/bin/java ; \ > export JRE=/etc/java-config-2/current-system-vm/jre ; \ > export SPLASH_PNG=/usr/share/icedtea-web/javaws_splash.png ; \ > export ITW_LIBS=DISTRIBUTION ; \ > export PLUGIN_JAR=/usr/share/icedtea-web/plugin.jar ; \ > export NETX_JAR=/usr/share/icedtea-web/javaws.jar ; \ > export JSOBJECT_JAR=/usr/share/icedtea-web/jsobject.jar ; \ > export TAGSOUP_JAR=no ; \ > export RHINO_JAR= ; \ > export MSLINKS_JAR= ; \ > export MODULARJDK_ARGS_LOCATION=/usr/bin/itw-modularjdk.args ; \ > unset MAIN_CLASS ; \ > unset BIN_LOCATION ; \ > unset PROGRAM_NAME ; \ > if [ $filename = itweb-javaws ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.runtime.Boot ; \ > export BIN_LOCATION=/usr/bin/itweb-javaws ; \ > export PROGRAM_NAME=itweb-javaws ; \ > fi ; \ > if [ $filename = itweb-settings ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.controlpanel.CommandLine ; \ > export BIN_LOCATION=/usr/bin/itweb-settings ; \ > export PROGRAM_NAME=itweb-settings ; \ > fi ; \ > if [ $filename = policyeditor ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.security.policyeditor.PolicyEditor ; \ > export BIN_LOCATION=/usr/bin/policyeditor ; \ > export PROGRAM_NAME=policyeditor ; \ > fi ; \ > /usr/bin/cargo test ; \ > r=$? ; \ > /usr/bin/cargo build --release ; \ >popd ;\ >cp -v $outs/target/release/launcher launcher.build/itweb-settings ; \ >if [ $r -ne 0 ] ; then \ > mv launcher.build/itweb-settings launcher.build/itweb-settings.broken ; \ >fi; \ >exit $r >/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 > Compiling launcher v1.8.0 (/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings) > Running `rustc --crate-name launcher src/main.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=24a20f97e242ccd9 -C extra-filename=-24a20f97e242ccd9 --out-dir /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings/target/debug/deps -C incremental=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings/target/debug/incremental -L dependency=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings/target/debug/deps` >warning: trait objects without an explicit `dyn` are deprecated > --> src/hardcoded_paths.rs:127:31 > | >127 | pub fn get_libsearch(logger: &os_access::Os) -> ItwLibSearch { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > | > = note: `#[warn(bare_trait_objects)]` on by default > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:21:38 > | >21 | fn validate(&self, s: &str, os: &os_access::Os) -> bool; > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:29:38 > | >29 | fn validate(&self, s: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:45:39 > | >45 | fn validate(&self, s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:60:40 > | >60 | fn validate(&self, _s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:118:40 > | >118 | fn verify_jdk_string(spath: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:7:29 > | >7 | pub fn create_java_cmd(os: &Os,jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Command { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:28:28 > | >28 | fn spawn_java_process(os: &Os, jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Child { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:15:32 > | >15 | pub fn get_xdg_config_dir(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:43:33 > | >43 | pub fn get_itw_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:47:40 > | >47 | pub fn get_itw_legacy_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:52:47 > | >52 | pub fn get_itw_legacy_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:56:40 > | >56 | pub fn get_itw_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:13:29 > | >13 | fn get_basic_array(logger: &os_access::Os) -> [Option<std::path::PathBuf>; 4] { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:24:41 > | >24 | pub fn try_jdk_from_properties(logger: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:28:50 > | >28 | pub fn try_main_verbose_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:40:49 > | >40 | pub fn try_log_to_file_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:52:52 > | >52 | pub fn try_log_to_streams_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:64:51 > | >64 | pub fn try_log_to_system_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:87:47 > | >87 | pub fn try_logtarget_from_properties(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:111:59 > | >111 | pub fn try_direct_key_from_properties(key: &str, logger: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:43 > | >124 | fn try_key_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>], key: &str, validator: &property_from_file:... > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:119 > | >124 | ...], key: &str, validator: &property_from_file::Validator) -> Option<String> { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn property_from_file::Validator` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:163:47 > | >163 | fn try_jdk_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>]) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:11:22 > | >11 | pub fn find_jre(os: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:96:41 > | >96 | fn get_jdk_from_path_conditionally(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:100:123 > | >100 | ...arch: hardcoded_paths::ItwLibSearch, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:113:73 > | >113 | fn get_jdk_from_given_path_testable(system_path: Option<OsString>, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:25:34 > | >25 | pub fn resolve_argsfile(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:29:34 > | >29 | pub fn resolve_jsobject(logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:41:32 > | >41 | pub fn resolve_splash(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:45:82 > | >45 | fn try_jar_in_subdirs(dir: &std::path::PathBuf, name: &std::ffi::OsStr, logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:61:52 > | >61 | fn resolve_jar(full_hardcoded_path: &str, logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:124:55 > | >124 | fn append_if_exists(value: Option<&'static str>, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:150:35 > | >150 | fn filter_out_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:161:34 > | >161 | fn filter_in_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:167:59 > | >167 | fn get_bootcp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:187:55 > | >187 | fn get_cp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:203:62 > | >203 | fn compose_class_path(members: Vec<std::path::PathBuf>, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:214:58 > | >214 | pub fn get_classpath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:218:62 > | >218 | pub fn get_bootclasspath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:16:34 > | >16 | pub fn log_impl(level: i32, os: &os_access::Os, s: &str) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:87:22 > | >87 | pub fn load(os: &os_access::Os) -> AdvancedLogging { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:113:97 > | >113 | fn compose_arguments(java_dir: &std::path::PathBuf, original_args: &std::vec::Vec<String>, os: &os_access::Os) -> Vec<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:182:24 > | >182 | fn is_modular_jdk(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:192:21 > | >192 | fn jdk_version(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> i32 { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:226:26 > | >226 | fn resolve_argsfile(os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:236:34 > | >236 | fn get_jsobject_patchmodule(os: &os_access::Os) -> Option<(String, String)> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:254:20 > | >254 | fn get_splash(os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:260:69 > | >260 | fn get_splash_testable(headless: bool, splash_forbidden: bool, os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:295:103 > | >295 | fn include_dashJs_values(srcs: &Vec<std::string::String>, target: &mut Vec<std::string::String>, os: &os_access::Os) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred > --> src/utils.rs:173:52 > | >173 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; > | ^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(deprecated)]` on by default > >warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred > --> src/utils.rs:324:39 > | >324 | static TMP_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; > | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` > >warning: unused variable: `s` > --> src/utils.rs:259:30 > | >259 | fn system_log(&self, s: &str){ panic!("not implemented"); } > | ^ help: if this is intentional, prefix it with an underscore: `_s` > | > = note: `#[warn(unused_variables)]` on by default > >warning: variable does not need to be mutable > --> src/property_from_files_resolver.rs:96:17 > | >96 | let mut cfgdir_candidate = logger.get_user_config_dir(); > | ----^^^^^^^^^^^^^^^^ > | | > | help: remove this `mut` > | > = note: `#[warn(unused_mut)]` on by default > >warning: variable does not need to be mutable > --> src/jars_helper.rs:266:13 > | >266 | let mut empty: Vec<std::path::PathBuf> = Vec::new(); > | ----^^^^^ > | | > | help: remove this `mut` > >warning: variable does not need to be mutable > --> src/jars_helper.rs:277:13 > | >277 | let mut empty: Vec<std::path::PathBuf> = Vec::new(); > | ----^^^^^ > | | > | help: remove this `mut` > >warning: unused `std::result::Result` that must be used > --> src/hardcoded_paths.rs:136:17 > | >136 | ... write!(&mut info, "ITW-LIBS provided, but have invalid value of {}. Use BUNDLED, DISTRIBUTION or EMBEDDED", result_of_override_var); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(unused_must_use)]` on by default > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/jars_helper.rs:81:17 > | >81 | ... write!(&mut info1, "custom ITW_HOME provided, but do not exists or is not directory: {}", &(dirs_paths_helper::path_to_string(&custom_dir))); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:41:17 > | >41 | std::fs::create_dir_all(os.advanced_logging().log_target_file.parent().expect("hard to imagine log file without parent")); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:52:17 > | >52 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:64:9 > | >64 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: 62 warnings emitted > > Finished test [unoptimized + debuginfo] target(s) in 1.56s > Running `/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings/target/debug/deps/launcher-24a20f97e242ccd9` > >running 65 tests >test dirs_paths_helper::tests::check_config_files_paths ... [32mok[m >test dirs_paths_helper::tests::check_config_files_paths_global ... [32mok[m >test dirs_paths_helper::tests::check_legacy_config_files_paths ... [32mok[m >test dirs_paths_helper::tests::is_not_dir ... [32mok[m >test dirs_paths_helper::tests::is_not_file ... [32mok[m >test hardcoded_paths::tests::get_itwlibsearch_in_enumeration ... [32mok[m >test hardcoded_paths::tests::itw_libsearch_to_enum_test ... [32mok[m >test hardcoded_paths::tests::variables_non_default ... [32mok[m >test hardcoded_paths::tests::variables_non_empty ... [32mok[m >test jars_helper::tests::compose_class_path_test_empty ... [32mok[m >test jars_helper::tests::compose_class_path_test_one ... [32mok[m >test jars_helper::tests::compose_class_path_test_three ... [32mok[m >test jars_helper::tests::compose_class_path_test_two ... [32mok[m >test jars_helper::tests::filter_in_val_test1 ... [32mok[m >test jars_helper::tests::filter_in_val_test2 ... [32mok[m >test jars_helper::tests::filter_out_val_test1 ... [32mok[m >test jars_helper::tests::filter_out_val_test2 ... [32mok[m >test property::tests::check_property ... [32mok[m >test property::tests::split_property_colon_delimiter ... [32mok[m >test property::tests::checked_split ... [32mok[m >test property::tests::split_property_equals_delimiter ... [32mok[m >test property::tests::split_property_mixed_delimiter ... [32mok[m >test property::tests::split_property_nodelimiter ... [32mok[m >test property::tests::split_property_reals ... [32mok[m >test property::tests::split_property_trimming ... [32mok[m >test property_from_file::tests::get_jre_from_file_none ... [32mok[m >test property_from_file::tests::str_to_bool_false ... [32mok[m >test property_from_file::tests::str_to_bool_true ... [32mok[m >test property_from_file::tests::verify_bool_string_false ... [32mok[m >test property_from_file::tests::verify_bool_string_true ... [32mok[m >test dirs_paths_helper::tests::is_file ... [32mok[m >test dirs_paths_helper::tests::is_not_dir_is_file ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4nothing ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4nonexisting ... [32mok[m >test dirs_paths_helper::tests::is_dir ... [32mok[m >test dirs_paths_helper::tests::is_not_file_is_dir ... [32mok[m >test tests_main::clean_param_test ... [32mok[m >test property_from_file::tests::get_jre_from_file_notexists ... [32mok[m >test tests_main::get_splash_test ... [32mok[m >test tests_main::include_dashJs_values_test_empty ... [32mok[m >test tests_main::include_dashJs_valuess_test ... [32mok[m >test tests_main::include_not_dashJs_test ... [32mok[m >test tests_main::include_not_dashJs_test_empty ... [32mok[m >test tests_main::is_debug_on_test ... [32mok[m >test tests_main::is_headless_enforced_test ... [32mok[m >test tests_main::is_splash_forbidden_test ... [32mok[m >test property_from_file::tests::check_file_for_property_jredir_not_found ... [32mok[m >test tests_main::compose_arguments_test ... [32mok[m >test property::tests::check_load_item_exists ... [32mok[m >test property_from_file::tests::check_file_for_property_item_exists ... [32mok[m >test utils::tests_utils::try_none_jre_from_path ... [32mok[m >test property::tests::check_load_not_found ... [32mok[m >test property_from_file::tests::check_file_for_property_jredir ... [32mok[m >test property_from_file::tests::get_jre_from_file_not_found ... [32mok[m >test property_from_file::tests::get_jre_from_file_exists ... [32mok[m >test property_from_file::tests::verify_jdk_string_verify_jdk_path_jdk_bad ... [32mok[m >test property_from_file::tests::check_file_for_property_not_found ... [32mok[m >test property_from_file::tests::verify_jdk_string_verify_jdk_path_jdk_ok ... [32mok[m >test utils::tests_utils::try_jre_dir_java_on_path_but_no_bin ... [32mok[m >test utils::tests_utils::try_jre_exists_on_path ... [32mok[m >test utils::tests_utils::try_jre_dir_on_path_exists_but_no_java ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4empty ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_invalid_jdk ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_none_and_more_valid ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_none_and_valid ... [32mok[m > >test result: [32mok[m. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out > > Compiling launcher v1.8.0 (/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings) > Running `rustc --crate-name launcher src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=e09ea4964537f373 -C extra-filename=-e09ea4964537f373 --out-dir /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings/target/release/deps -L dependency=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings/target/release/deps` >warning: trait objects without an explicit `dyn` are deprecated > --> src/hardcoded_paths.rs:127:31 > | >127 | pub fn get_libsearch(logger: &os_access::Os) -> ItwLibSearch { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > | > = note: `#[warn(bare_trait_objects)]` on by default > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:21:38 > | >21 | fn validate(&self, s: &str, os: &os_access::Os) -> bool; > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:29:38 > | >29 | fn validate(&self, s: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:45:39 > | >45 | fn validate(&self, s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:60:40 > | >60 | fn validate(&self, _s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:118:40 > | >118 | fn verify_jdk_string(spath: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:7:29 > | >7 | pub fn create_java_cmd(os: &Os,jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Command { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:28:28 > | >28 | fn spawn_java_process(os: &Os, jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Child { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:15:32 > | >15 | pub fn get_xdg_config_dir(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:43:33 > | >43 | pub fn get_itw_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:47:40 > | >47 | pub fn get_itw_legacy_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:52:47 > | >52 | pub fn get_itw_legacy_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:56:40 > | >56 | pub fn get_itw_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:13:29 > | >13 | fn get_basic_array(logger: &os_access::Os) -> [Option<std::path::PathBuf>; 4] { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:24:41 > | >24 | pub fn try_jdk_from_properties(logger: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:28:50 > | >28 | pub fn try_main_verbose_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:40:49 > | >40 | pub fn try_log_to_file_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:52:52 > | >52 | pub fn try_log_to_streams_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:64:51 > | >64 | pub fn try_log_to_system_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:87:47 > | >87 | pub fn try_logtarget_from_properties(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:111:59 > | >111 | pub fn try_direct_key_from_properties(key: &str, logger: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:43 > | >124 | fn try_key_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>], key: &str, validator: &property_from_file:... > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:119 > | >124 | ...], key: &str, validator: &property_from_file::Validator) -> Option<String> { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn property_from_file::Validator` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:11:22 > | >11 | pub fn find_jre(os: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:96:41 > | >96 | fn get_jdk_from_path_conditionally(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:100:123 > | >100 | ...arch: hardcoded_paths::ItwLibSearch, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:113:73 > | >113 | fn get_jdk_from_given_path_testable(system_path: Option<OsString>, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:25:34 > | >25 | pub fn resolve_argsfile(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:29:34 > | >29 | pub fn resolve_jsobject(logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:41:32 > | >41 | pub fn resolve_splash(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:45:82 > | >45 | fn try_jar_in_subdirs(dir: &std::path::PathBuf, name: &std::ffi::OsStr, logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:61:52 > | >61 | fn resolve_jar(full_hardcoded_path: &str, logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:124:55 > | >124 | fn append_if_exists(value: Option<&'static str>, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:150:35 > | >150 | fn filter_out_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:161:34 > | >161 | fn filter_in_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:167:59 > | >167 | fn get_bootcp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:187:55 > | >187 | fn get_cp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:203:62 > | >203 | fn compose_class_path(members: Vec<std::path::PathBuf>, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:214:58 > | >214 | pub fn get_classpath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:218:62 > | >218 | pub fn get_bootclasspath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:16:34 > | >16 | pub fn log_impl(level: i32, os: &os_access::Os, s: &str) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:87:22 > | >87 | pub fn load(os: &os_access::Os) -> AdvancedLogging { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:113:97 > | >113 | fn compose_arguments(java_dir: &std::path::PathBuf, original_args: &std::vec::Vec<String>, os: &os_access::Os) -> Vec<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:182:24 > | >182 | fn is_modular_jdk(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:192:21 > | >192 | fn jdk_version(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> i32 { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:226:26 > | >226 | fn resolve_argsfile(os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:236:34 > | >236 | fn get_jsobject_patchmodule(os: &os_access::Os) -> Option<(String, String)> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:254:20 > | >254 | fn get_splash(os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:260:69 > | >260 | fn get_splash_testable(headless: bool, splash_forbidden: bool, os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:295:103 > | >295 | fn include_dashJs_values(srcs: &Vec<std::string::String>, target: &mut Vec<std::string::String>, os: &os_access::Os) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: variable does not need to be mutable > --> src/property_from_files_resolver.rs:96:17 > | >96 | let mut cfgdir_candidate = logger.get_user_config_dir(); > | ----^^^^^^^^^^^^^^^^ > | | > | help: remove this `mut` > | > = note: `#[warn(unused_mut)]` on by default > >warning: constant is never used: `JAVA` > --> src/hardcoded_paths.rs:11:1 > | >11 | const JAVA: Option<&'static str> = option_env!("JAVA"); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(dead_code)]` on by default > >warning: function is never used: `get_java` > --> src/hardcoded_paths.rs:29:8 > | >29 | pub fn get_java() -> &'static str { > | ^^^^^^^^ > >warning: unused `std::result::Result` that must be used > --> src/hardcoded_paths.rs:136:17 > | >136 | ... write!(&mut info, "ITW-LIBS provided, but have invalid value of {}. Use BUNDLED, DISTRIBUTION or EMBEDDED", result_of_override_var); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(unused_must_use)]` on by default > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/jars_helper.rs:81:17 > | >81 | ... write!(&mut info1, "custom ITW_HOME provided, but do not exists or is not directory: {}", &(dirs_paths_helper::path_to_string(&custom_dir))); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:41:17 > | >41 | std::fs::create_dir_all(os.advanced_logging().log_target_file.parent().expect("hard to imagine log file without parent")); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:52:17 > | >52 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:64:9 > | >64 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: 58 warnings emitted > > Finished release [optimized] target(s) in 1.31s >/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 >'/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.itweb-settings/target/release/launcher' -> 'launcher.build/itweb-settings' >export ITW_TMP_REPLACEMENT=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/tests.build/rust_tests_tmp ; \ >mkdir -p $ITW_TMP_REPLACEMENT; \ >filename=`basename launcher.build/policyeditor` ; \ >type=${filename%.*} ; \ >srcs=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/rust-launcher ; \ >outs=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.$type ; \ >mkdir -p launcher.build ; \ >cp -r $srcs $outs ; \ >pushd $outs ; \ > export JAVA=/usr/bin/java ; \ > export JRE=/etc/java-config-2/current-system-vm/jre ; \ > export SPLASH_PNG=/usr/share/icedtea-web/javaws_splash.png ; \ > export ITW_LIBS=DISTRIBUTION ; \ > export PLUGIN_JAR=/usr/share/icedtea-web/plugin.jar ; \ > export NETX_JAR=/usr/share/icedtea-web/javaws.jar ; \ > export JSOBJECT_JAR=/usr/share/icedtea-web/jsobject.jar ; \ > export TAGSOUP_JAR=no ; \ > export RHINO_JAR= ; \ > export MSLINKS_JAR= ; \ > export MODULARJDK_ARGS_LOCATION=/usr/bin/itw-modularjdk.args ; \ > unset MAIN_CLASS ; \ > unset BIN_LOCATION ; \ > unset PROGRAM_NAME ; \ > if [ $filename = itweb-javaws ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.runtime.Boot ; \ > export BIN_LOCATION=/usr/bin/itweb-javaws ; \ > export PROGRAM_NAME=itweb-javaws ; \ > fi ; \ > if [ $filename = itweb-settings ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.controlpanel.CommandLine ; \ > export BIN_LOCATION=/usr/bin/itweb-settings ; \ > export PROGRAM_NAME=itweb-settings ; \ > fi ; \ > if [ $filename = policyeditor ] ; then \ > export MAIN_CLASS=net.sourceforge.jnlp.security.policyeditor.PolicyEditor ; \ > export BIN_LOCATION=/usr/bin/policyeditor ; \ > export PROGRAM_NAME=policyeditor ; \ > fi ; \ > /usr/bin/cargo test ; \ > r=$? ; \ > /usr/bin/cargo build --release ; \ >popd ;\ >cp -v $outs/target/release/launcher launcher.build/policyeditor ; \ >if [ $r -ne 0 ] ; then \ > mv launcher.build/policyeditor launcher.build/policyeditor.broken ; \ >fi; \ >exit $r >/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 > Compiling launcher v1.8.0 (/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor) > Running `rustc --crate-name launcher src/main.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 --test -C metadata=24a20f97e242ccd9 -C extra-filename=-24a20f97e242ccd9 --out-dir /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor/target/debug/deps -C incremental=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor/target/debug/incremental -L dependency=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor/target/debug/deps` >warning: trait objects without an explicit `dyn` are deprecated > --> src/hardcoded_paths.rs:127:31 > | >127 | pub fn get_libsearch(logger: &os_access::Os) -> ItwLibSearch { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > | > = note: `#[warn(bare_trait_objects)]` on by default > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:21:38 > | >21 | fn validate(&self, s: &str, os: &os_access::Os) -> bool; > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:29:38 > | >29 | fn validate(&self, s: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:45:39 > | >45 | fn validate(&self, s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:60:40 > | >60 | fn validate(&self, _s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:118:40 > | >118 | fn verify_jdk_string(spath: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:7:29 > | >7 | pub fn create_java_cmd(os: &Os,jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Command { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:28:28 > | >28 | fn spawn_java_process(os: &Os, jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Child { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:15:32 > | >15 | pub fn get_xdg_config_dir(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:43:33 > | >43 | pub fn get_itw_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:47:40 > | >47 | pub fn get_itw_legacy_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:52:47 > | >52 | pub fn get_itw_legacy_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:56:40 > | >56 | pub fn get_itw_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:13:29 > | >13 | fn get_basic_array(logger: &os_access::Os) -> [Option<std::path::PathBuf>; 4] { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:24:41 > | >24 | pub fn try_jdk_from_properties(logger: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:28:50 > | >28 | pub fn try_main_verbose_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:40:49 > | >40 | pub fn try_log_to_file_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:52:52 > | >52 | pub fn try_log_to_streams_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:64:51 > | >64 | pub fn try_log_to_system_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:87:47 > | >87 | pub fn try_logtarget_from_properties(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:111:59 > | >111 | pub fn try_direct_key_from_properties(key: &str, logger: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:43 > | >124 | fn try_key_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>], key: &str, validator: &property_from_file:... > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:119 > | >124 | ...], key: &str, validator: &property_from_file::Validator) -> Option<String> { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn property_from_file::Validator` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:163:47 > | >163 | fn try_jdk_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>]) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:11:22 > | >11 | pub fn find_jre(os: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:96:41 > | >96 | fn get_jdk_from_path_conditionally(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:100:123 > | >100 | ...arch: hardcoded_paths::ItwLibSearch, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:113:73 > | >113 | fn get_jdk_from_given_path_testable(system_path: Option<OsString>, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:25:34 > | >25 | pub fn resolve_argsfile(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:29:34 > | >29 | pub fn resolve_jsobject(logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:41:32 > | >41 | pub fn resolve_splash(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:45:82 > | >45 | fn try_jar_in_subdirs(dir: &std::path::PathBuf, name: &std::ffi::OsStr, logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:61:52 > | >61 | fn resolve_jar(full_hardcoded_path: &str, logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:124:55 > | >124 | fn append_if_exists(value: Option<&'static str>, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:150:35 > | >150 | fn filter_out_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:161:34 > | >161 | fn filter_in_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:167:59 > | >167 | fn get_bootcp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:187:55 > | >187 | fn get_cp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:203:62 > | >203 | fn compose_class_path(members: Vec<std::path::PathBuf>, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:214:58 > | >214 | pub fn get_classpath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:218:62 > | >218 | pub fn get_bootclasspath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:16:34 > | >16 | pub fn log_impl(level: i32, os: &os_access::Os, s: &str) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:87:22 > | >87 | pub fn load(os: &os_access::Os) -> AdvancedLogging { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:113:97 > | >113 | fn compose_arguments(java_dir: &std::path::PathBuf, original_args: &std::vec::Vec<String>, os: &os_access::Os) -> Vec<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:182:24 > | >182 | fn is_modular_jdk(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:192:21 > | >192 | fn jdk_version(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> i32 { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:226:26 > | >226 | fn resolve_argsfile(os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:236:34 > | >236 | fn get_jsobject_patchmodule(os: &os_access::Os) -> Option<(String, String)> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:254:20 > | >254 | fn get_splash(os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:260:69 > | >260 | fn get_splash_testable(headless: bool, splash_forbidden: bool, os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:295:103 > | >295 | fn include_dashJs_values(srcs: &Vec<std::string::String>, target: &mut Vec<std::string::String>, os: &os_access::Os) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred > --> src/utils.rs:173:52 > | >173 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; > | ^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(deprecated)]` on by default > >warning: use of deprecated item 'std::sync::atomic::ATOMIC_USIZE_INIT': the `new` function is now preferred > --> src/utils.rs:324:39 > | >324 | static TMP_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; > | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicUsize::new(0)` > >warning: unused variable: `s` > --> src/utils.rs:259:30 > | >259 | fn system_log(&self, s: &str){ panic!("not implemented"); } > | ^ help: if this is intentional, prefix it with an underscore: `_s` > | > = note: `#[warn(unused_variables)]` on by default > >warning: variable does not need to be mutable > --> src/property_from_files_resolver.rs:96:17 > | >96 | let mut cfgdir_candidate = logger.get_user_config_dir(); > | ----^^^^^^^^^^^^^^^^ > | | > | help: remove this `mut` > | > = note: `#[warn(unused_mut)]` on by default > >warning: variable does not need to be mutable > --> src/jars_helper.rs:266:13 > | >266 | let mut empty: Vec<std::path::PathBuf> = Vec::new(); > | ----^^^^^ > | | > | help: remove this `mut` > >warning: variable does not need to be mutable > --> src/jars_helper.rs:277:13 > | >277 | let mut empty: Vec<std::path::PathBuf> = Vec::new(); > | ----^^^^^ > | | > | help: remove this `mut` > >warning: unused `std::result::Result` that must be used > --> src/hardcoded_paths.rs:136:17 > | >136 | ... write!(&mut info, "ITW-LIBS provided, but have invalid value of {}. Use BUNDLED, DISTRIBUTION or EMBEDDED", result_of_override_var); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(unused_must_use)]` on by default > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/jars_helper.rs:81:17 > | >81 | ... write!(&mut info1, "custom ITW_HOME provided, but do not exists or is not directory: {}", &(dirs_paths_helper::path_to_string(&custom_dir))); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:41:17 > | >41 | std::fs::create_dir_all(os.advanced_logging().log_target_file.parent().expect("hard to imagine log file without parent")); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:52:17 > | >52 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:64:9 > | >64 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: 62 warnings emitted > > Finished test [unoptimized + debuginfo] target(s) in 1.56s > Running `/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor/target/debug/deps/launcher-24a20f97e242ccd9` > >running 65 tests >test dirs_paths_helper::tests::check_config_files_paths_global ... [32mok[m >test dirs_paths_helper::tests::check_config_files_paths ... [32mok[m >test dirs_paths_helper::tests::check_legacy_config_files_paths ... [32mok[m >test dirs_paths_helper::tests::is_not_dir ... [32mok[m >test dirs_paths_helper::tests::is_not_file ... [32mok[m >test hardcoded_paths::tests::get_itwlibsearch_in_enumeration ... [32mok[m >test hardcoded_paths::tests::itw_libsearch_to_enum_test ... [32mok[m >test hardcoded_paths::tests::variables_non_default ... [32mok[m >test hardcoded_paths::tests::variables_non_empty ... [32mok[m >test jars_helper::tests::compose_class_path_test_empty ... [32mok[m >test jars_helper::tests::compose_class_path_test_one ... [32mok[m >test jars_helper::tests::compose_class_path_test_three ... [32mok[m >test jars_helper::tests::compose_class_path_test_two ... [32mok[m >test jars_helper::tests::filter_in_val_test1 ... [32mok[m >test jars_helper::tests::filter_in_val_test2 ... [32mok[m >test jars_helper::tests::filter_out_val_test1 ... [32mok[m >test jars_helper::tests::filter_out_val_test2 ... [32mok[m >test property::tests::check_property ... [32mok[m >test property::tests::checked_split ... [32mok[m >test property::tests::split_property_colon_delimiter ... [32mok[m >test property::tests::split_property_equals_delimiter ... [32mok[m >test property::tests::split_property_mixed_delimiter ... [32mok[m >test property::tests::split_property_nodelimiter ... [32mok[m >test property::tests::split_property_reals ... [32mok[m >test property::tests::split_property_trimming ... [32mok[m >test property_from_file::tests::get_jre_from_file_none ... [32mok[m >test property_from_file::tests::str_to_bool_false ... [32mok[m >test property_from_file::tests::str_to_bool_true ... [32mok[m >test property_from_file::tests::verify_bool_string_false ... [32mok[m >test property_from_file::tests::verify_bool_string_true ... [32mok[m >test dirs_paths_helper::tests::is_not_dir_is_file ... [32mok[m >test dirs_paths_helper::tests::is_file ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4nonexisting ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4nothing ... [32mok[m >test dirs_paths_helper::tests::is_dir ... [32mok[m >test dirs_paths_helper::tests::is_not_file_is_dir ... [32mok[m >test tests_main::clean_param_test ... [32mok[m >test property_from_file::tests::get_jre_from_file_notexists ... [32mok[m >test tests_main::get_splash_test ... [32mok[m >test property_from_file::tests::check_file_for_property_jredir_not_found ... [32mok[m >test tests_main::include_dashJs_values_test_empty ... [32mok[m >test property_from_file::tests::get_jre_from_file_not_found ... [32mok[m >test tests_main::include_not_dashJs_test ... [32mok[m >test tests_main::include_dashJs_valuess_test ... [32mok[m >test tests_main::include_not_dashJs_test_empty ... [32mok[m >test tests_main::is_debug_on_test ... [32mok[m >test tests_main::is_headless_enforced_test ... [32mok[m >test tests_main::is_splash_forbidden_test ... [32mok[m >test tests_main::compose_arguments_test ... [32mok[m >test utils::tests_utils::try_none_jre_from_path ... [32mok[m >test property::tests::check_load_not_found ... [32mok[m >test property_from_file::tests::check_file_for_property_jredir ... [32mok[m >test property::tests::check_load_item_exists ... [32mok[m >test property_from_file::tests::get_jre_from_file_exists ... [32mok[m >test property_from_file::tests::check_file_for_property_not_found ... [32mok[m >test property_from_file::tests::check_file_for_property_item_exists ... [32mok[m >test property_from_file::tests::verify_jdk_string_verify_jdk_path_jdk_bad ... [32mok[m >test property_from_file::tests::verify_jdk_string_verify_jdk_path_jdk_ok ... [32mok[m >test utils::tests_utils::try_jre_dir_java_on_path_but_no_bin ... [32mok[m >test utils::tests_utils::try_jre_exists_on_path ... [32mok[m >test utils::tests_utils::try_jre_dir_on_path_exists_but_no_java ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_4empty ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_none_and_valid ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_invalid_jdk ... [32mok[m >test property_from_files_resolver::tests::try_jdk_from_properties_files_none_and_more_valid ... [32mok[m > >test result: [32mok[m. 65 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out > > Compiling launcher v1.8.0 (/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor) > Running `rustc --crate-name launcher src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -Cembed-bitcode=no -C metadata=e09ea4964537f373 -C extra-filename=-e09ea4964537f373 --out-dir /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor/target/release/deps -L dependency=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor/target/release/deps` >warning: trait objects without an explicit `dyn` are deprecated > --> src/hardcoded_paths.rs:127:31 > | >127 | pub fn get_libsearch(logger: &os_access::Os) -> ItwLibSearch { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > | > = note: `#[warn(bare_trait_objects)]` on by default > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:21:38 > | >21 | fn validate(&self, s: &str, os: &os_access::Os) -> bool; > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:29:38 > | >29 | fn validate(&self, s: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:45:39 > | >45 | fn validate(&self, s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:60:40 > | >60 | fn validate(&self, _s: &str, _os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_file.rs:118:40 > | >118 | fn verify_jdk_string(spath: &str, os: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:7:29 > | >7 | pub fn create_java_cmd(os: &Os,jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Command { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/os_access.rs:28:28 > | >28 | fn spawn_java_process(os: &Os, jre_dir: &std::path::PathBuf, args: &Vec<String>) -> std::process::Child { > | ^^ help: use `dyn`: `dyn Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:15:32 > | >15 | pub fn get_xdg_config_dir(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:43:33 > | >43 | pub fn get_itw_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:47:40 > | >47 | pub fn get_itw_legacy_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:52:47 > | >52 | pub fn get_itw_legacy_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/dirs_paths_helper.rs:56:40 > | >56 | pub fn get_itw_global_config_file(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:13:29 > | >13 | fn get_basic_array(logger: &os_access::Os) -> [Option<std::path::PathBuf>; 4] { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:24:41 > | >24 | pub fn try_jdk_from_properties(logger: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:28:50 > | >28 | pub fn try_main_verbose_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:40:49 > | >40 | pub fn try_log_to_file_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:52:52 > | >52 | pub fn try_log_to_streams_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:64:51 > | >64 | pub fn try_log_to_system_from_properties(logger: &os_access::Os) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:87:47 > | >87 | pub fn try_logtarget_from_properties(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:111:59 > | >111 | pub fn try_direct_key_from_properties(key: &str, logger: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:43 > | >124 | fn try_key_from_properties_files(logger: &os_access::Os, array: &[Option<std::path::PathBuf>], key: &str, validator: &property_from_file:... > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/property_from_files_resolver.rs:124:119 > | >124 | ...], key: &str, validator: &property_from_file::Validator) -> Option<String> { > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn property_from_file::Validator` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:11:22 > | >11 | pub fn find_jre(os: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:96:41 > | >96 | fn get_jdk_from_path_conditionally(os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:100:123 > | >100 | ...arch: hardcoded_paths::ItwLibSearch, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/utils.rs:113:73 > | >113 | fn get_jdk_from_given_path_testable(system_path: Option<OsString>, os: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:25:34 > | >25 | pub fn resolve_argsfile(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:29:34 > | >29 | pub fn resolve_jsobject(logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:41:32 > | >41 | pub fn resolve_splash(logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:45:82 > | >45 | fn try_jar_in_subdirs(dir: &std::path::PathBuf, name: &std::ffi::OsStr, logger: &os_access::Os) -> Option<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:61:52 > | >61 | fn resolve_jar(full_hardcoded_path: &str, logger: &os_access::Os) -> std::path::PathBuf { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:124:55 > | >124 | fn append_if_exists(value: Option<&'static str>, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:150:35 > | >150 | fn filter_out_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:161:34 > | >161 | fn filter_in_key(key: &str, os: &os_access::Os, vec: &mut Vec<std::path::PathBuf>) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:167:59 > | >167 | fn get_bootcp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:187:55 > | >187 | fn get_cp_members(jre_path: &std::path::PathBuf, os: &os_access::Os) -> Vec<std::path::PathBuf> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:203:62 > | >203 | fn compose_class_path(members: Vec<std::path::PathBuf>, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:214:58 > | >214 | pub fn get_classpath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/jars_helper.rs:218:62 > | >218 | pub fn get_bootclasspath(jre_path: &std::path::PathBuf, os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:16:34 > | >16 | pub fn log_impl(level: i32, os: &os_access::Os, s: &str) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/log_helper.rs:87:22 > | >87 | pub fn load(os: &os_access::Os) -> AdvancedLogging { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:113:97 > | >113 | fn compose_arguments(java_dir: &std::path::PathBuf, original_args: &std::vec::Vec<String>, os: &os_access::Os) -> Vec<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:182:24 > | >182 | fn is_modular_jdk(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> bool { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:192:21 > | >192 | fn jdk_version(os: &os_access::Os, jre_dir: &std::path::PathBuf) -> i32 { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:226:26 > | >226 | fn resolve_argsfile(os: &os_access::Os) -> String { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:236:34 > | >236 | fn get_jsobject_patchmodule(os: &os_access::Os) -> Option<(String, String)> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:254:20 > | >254 | fn get_splash(os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:260:69 > | >260 | fn get_splash_testable(headless: bool, splash_forbidden: bool, os: &os_access::Os) -> Option<String> { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: trait objects without an explicit `dyn` are deprecated > --> src/main.rs:295:103 > | >295 | fn include_dashJs_values(srcs: &Vec<std::string::String>, target: &mut Vec<std::string::String>, os: &os_access::Os) { > | ^^^^^^^^^^^^^ help: use `dyn`: `dyn os_access::Os` > >warning: variable does not need to be mutable > --> src/property_from_files_resolver.rs:96:17 > | >96 | let mut cfgdir_candidate = logger.get_user_config_dir(); > | ----^^^^^^^^^^^^^^^^ > | | > | help: remove this `mut` > | > = note: `#[warn(unused_mut)]` on by default > >warning: constant is never used: `JAVA` > --> src/hardcoded_paths.rs:11:1 > | >11 | const JAVA: Option<&'static str> = option_env!("JAVA"); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(dead_code)]` on by default > >warning: function is never used: `get_java` > --> src/hardcoded_paths.rs:29:8 > | >29 | pub fn get_java() -> &'static str { > | ^^^^^^^^ > >warning: unused `std::result::Result` that must be used > --> src/hardcoded_paths.rs:136:17 > | >136 | ... write!(&mut info, "ITW-LIBS provided, but have invalid value of {}. Use BUNDLED, DISTRIBUTION or EMBEDDED", result_of_override_var); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: `#[warn(unused_must_use)]` on by default > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/jars_helper.rs:81:17 > | >81 | ... write!(&mut info1, "custom ITW_HOME provided, but do not exists or is not directory: {}", &(dirs_paths_helper::path_to_string(&custom_dir))); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:41:17 > | >41 | std::fs::create_dir_all(os.advanced_logging().log_target_file.parent().expect("hard to imagine log file without parent")); > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:52:17 > | >52 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: unused `std::result::Result` that must be used > --> src/log_helper.rs:64:9 > | >64 | file.sync_all(); > | ^^^^^^^^^^^^^^^^ > | > = note: this `Result` may be an `Err` variant, which should be handled > >warning: 58 warnings emitted > > Finished release [optimized] target(s) in 1.31s >/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4 >'/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/launcher.in.policyeditor/target/release/launcher' -> 'launcher.build/policyeditor' >sed "s#PATH_TO_JAVAWS#/usr/bin/itweb-javaws#" < ./javaws.desktop.in > javaws.desktop >sed "s#PATH_TO_ITWEB_SETTINGS#/usr/bin/itweb-settings#" \ > < ./itweb-settings.desktop.in > itweb-settings.desktop >sed "s#PATH_TO_POLICYEDITOR#/usr/bin/policyeditor#" \ >< ./policyeditor.desktop.in > policyeditor.desktop >>>> Source compiled. > * Skipping make test/check due to ebuild restriction. >>>> Test phase [disabled because of RESTRICT=test]: dev-java/icedtea-web-1.8.4-r1 > >>>> Install dev-java/icedtea-web-1.8.4-r1 into /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image >make -j16 V=1 DESTDIR=/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image install >make[1]: Entering directory '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4' >/bin/bash /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/install-sh -d /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/bin /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/icedtea-web/ /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/lib64 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/pixmaps /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions >make printvars > printvarsfile >/bin/bash /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/install-sh -d -d /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/man >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/liveconnect/lib/classes-applet.jar /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/icedtea-web/plugin.jar >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/liveconnect/lib/classes-jsobject.jar /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/icedtea-web/jsobject.jar >cp -r "/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/icedtea-web-docs/1.8.4/man/"* /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/man/ >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx.build/lib/classes.jar /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/icedtea-web/javaws.jar >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/netx/javaws_splash.png /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/icedtea-web/javaws_splash.png >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/javaws.png /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/pixmaps/ >mkdir -p /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/bin >cp launcher.build/itw-modularjdk.args /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/bin/itw-modularjdk.args >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c launcher.build/itweb-javaws /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/bin >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c launcher.build/itweb-settings /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/bin >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c launcher.build/policyeditor /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/bin >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/itweb-settings.bash /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/ >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/javaws.bash /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/ >/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4/completion/policyeditor.bash /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/ >make[1]: Leaving directory '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/work/IcedTea-Web-icedtea-web-1.8.4' >removed '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/bin/itw-modularjdk.args' >`/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/itweb-settings.bash' -> `/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/itweb-settings' >`/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/javaws.bash' -> `/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/javaws' >`/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/policyeditor.bash' -> `/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/policyeditor' >`/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/man/man1/javaws.1' -> `/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/man/man1/itweb-javaws.1' >renamed '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/javaws' -> '/var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image/usr/share/bash-completion/completions/itweb-javaws' >>>> Completed installing dev-java/icedtea-web-1.8.4-r1 into /var/tmp/portage/dev-java/icedtea-web-1.8.4-r1/image > > * Final size of build directory: 76372 KiB (74.5 MiB) > * Final size of installed tree: 4688 KiB ( 4.5 MiB) > > * QA Notice: command not found: > * > * html-gen.sh: line 176: bc: command not found >strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version > /usr/bin/itweb-javaws > /usr/bin/itweb-settings > /usr/bin/policyeditor >>>> Done. > * Browser plugin > * -------------- > * > * The IcedTea browser plugin (NPPlugin) is no longer available, > * as modern browsers no longer support this plugin format. > * > * JVM selection > * ------------- > * > * By default, Web Start uses the JVM > * selected via eselect environment variable. > * Note that this doesn't have to be an IcedTea. Openjdk will also work. > * The choice can be overridden using the itweb-settings program. > * Simply blank out the field to restore the default behaviour. > * > * (Note: Above message is only printed the first time package is > * installed. Please look at /usr/share/doc/icedtea-web-1.8.4-r1/README.gentoo* > * for future reference)
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 740782
: 658872