ATOM/PlatformIO OpenOCD init failed - atom-editor

I'm trying to upload to a board for my 3d printer and was following a couple of online tutorials; however, when I'm trying to upload to the board I receive the error below.
I'm running an up-to-date version of Windows 10, Atom & PlatformIO, the board is an SKR E3 Dip (https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0).
I have tried
plugging the board into multiple USB ports, because looking online it seemed that there was a problem with USB3
updating drivers
Any advice on additional troubleshooting?
Processing STM32F103RE_bigtree_USB (platform: ststm32; board: genericSTM32F103RE; framework: arduino)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/genericSTM32F103RE.html
PLATFORM: ST STM32 6.0.0 > STM32F103RE (64k RAM. 512k Flash)
HARDWARE: STM32F103RET6 72MHz, 64KB RAM, 512KB Flash
DEBUG: Current (stlink) External (blackmagic, jlink, stlink)
PACKAGES: toolchain-gccarmnoneeabi 1.70201.0 (7.2.1), framework-arduinoststm32-maple 1.10000.190819 (1.0.0), tool-stm32duino 1.0.2, tool-openocd 2.1000.190707 (10.0), tool-dfuutil 1.9.190708
Converting Marlin.ino
LDF: Library Dependency Finder -> http://docs.platformio.org/en/latest/librarymanager/ldf.html
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 39 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <U8glib-HAL> 0.4.1
| |-- <Wire> 1.0
|-- <LiquidCrystal> 1.3.4
| |-- <Wire> 1.0
|-- <TMCStepper> 0.6.2
| |-- <SoftwareSerialM>
|-- <Adafruit MAX31865 library> 1.0.3
|-- <LiquidTWI2>
| |-- <Wire> 1.0
|-- <Arduino-L6470> 0.7.0
|-- <SailfishLCD>
|-- <SailfishRGB_LED>
| |-- <Wire> 1.0
|-- <SlowSoftI2CMaster>
|-- <SoftwareSerialM>
|-- <STM32ADC> 1.0
|-- <USBComposite for STM32F1> 0.91
|-- <EEPROM>
|-- <Wire> 1.0
Building in release mode
Checking size .pio\build\STM32F103RE_bigtree_USB\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
DATA: [=== ] 25.4% (used 16664 bytes from 65536 bytes)
PROGRAM: [==== ] 38.9% (used 203700 bytes from 524288 bytes)
Configuring upload protocol...
AVAILABLE: blackmagic, dfu, jlink, serial, stlink
CURRENT: upload_protocol = stlink
Uploading .pio\build\STM32F103RE_bigtree_USB\firmware.elf
xPack OpenOCD, 64-bit Open On-Chip Debugger 0.10.0+dev (2019-07-17-11:28)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
hla_swd
Error: open failed
in procedure 'program'
** OpenOCD init failed **
shutdown command invoked
*** [upload] Error 1

Related

JavaFX No toolkit found despite jar is bundled

I have a runnable jar (drkodi-mac-aarch64.jar), that should contain all that is needed, including the FX components.
I can successfully start the app by executing the following command:
java -jar drkodi-mac-aarch64.jar
My java installation:
java -version
openjdk version "18.0.1" 2022-04-19
OpenJDK Runtime Environment Temurin-18.0.1+10 (build 18.0.1+10)
OpenJDK 64-Bit Server VM Temurin-18.0.1+10 (build 18.0.1+10, mixed mode)
Now, I bundle this runnable jar into a Mac App, which contains a JRE and a launcher.
file DrKodi.app/Contents/MacOS/launcher-macosx-aarch64.sh
DrKodi/DrKodi.app/Contents/MacOS/launcher-macosx-aarch64.sh: POSIX shell script text executable, ASCII text
cat DrKodi.app/Contents/MacOS/launcher-macosx-aarch64.sh
cd "$(dirname "$0")" || exit
../Plugins/jre/Contents/Home/bin/java -jar "../Resources/Java/drkodi-mac-aarch64.jar"
The JRE is located here:
DrKodi/DrKodi.app/Contents/PlugIns/jre/Contents/Home
It is created using the following command:
Creating JRE with next modules included: java.base,java.logging,java.desktop,jdk.unsupported,java.scripting
[INFO] Using /Library/Java/JavaVirtualMachines/temurin-18.jdk/Contents/Home/jmods modules directory
[INFO] Executing command: /bin/sh -c cd '/Users/alex/sources/drkodi/.' && '/Library/Java/JavaVirtualMachines/temurin-18.jdk/Contents/Home/bin/jlink' --module-path /Library/Java/JavaVirtualMachines/temurin-18.jdk/Contents/Home/jmods --add-modules java.base,java.logging,java.desktop,jdk.unsupported,java.scripting --output /Users/alex/sources/drkodi/target/DrKodi/DrKodi.app/Contents/PlugIns/jre/Contents/Home --no-header-files --no-man-pages --strip-debug --compress=2
[INFO] Removing folder [/Users/alex/sources/drkodi/target/DrKodi/DrKodi.app/Contents/PlugIns/jre/Contents/Home/legal]
[INFO] JRE bundled in /Users/alex/sources/drkodi/target/DrKodi/DrKodi.app/Contents/PlugIns/jre/Contents/Home!
Now, when I start the App using the bundled java executable, like this:
./DrKodi.app/Contents/PlugIns/jre/Contents/Home/bin/java -jar ./DrKodi.app/Contents/Resources/Java/drkodi-mac-aarch64.jar
I get the following exception:
java.lang.RuntimeException: No toolkit found
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:280)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)
If I start the jar file using my installed JRE, like follows, it works:
java -jar ./DrKodi.app/Contents/Resources/Java/drkodi-mac-aarch64.jar
If I take a look at the runnable jar, the library seems to be there, it's also the right arch:
unzip -l drkodi-mac-aarch64.jar | grep javafx
1659 10-25-2019 15:22 BOOT-INF/lib/javafx-weaver-spring-boot-starter-1.3.0.jar
5686 10-25-2019 15:23 BOOT-INF/lib/javafx-weaver-spring-1.3.0.jar
9621 10-25-2019 15:23 BOOT-INF/lib/javafx-weaver-core-1.3.0.jar
3918 10-25-2019 15:24 BOOT-INF/lib/javafx-weaver-spring-boot-autoconfigure-1.3.0.jar
302 10-17-2022 11:07 BOOT-INF/lib/javafx-fxml-19.jar
129499 09-12-2022 11:46 BOOT-INF/lib/javafx-fxml-19-mac-aarch64.jar
306 10-17-2022 11:07 BOOT-INF/lib/javafx-controls-19.jar
2547893 09-12-2022 11:46 BOOT-INF/lib/javafx-controls-19-mac-aarch64.jar
306 10-17-2022 11:07 BOOT-INF/lib/javafx-graphics-19.jar
4812958 09-12-2022 11:46 BOOT-INF/lib/javafx-graphics-19-mac-aarch64.jar
302 10-17-2022 11:07 BOOT-INF/lib/javafx-base-19.jar
752442 09-12-2022 11:36 BOOT-INF/lib/javafx-base-19-mac-aarch64.jar
This is strange to me, since the bundled JRE was created from my local Java installation, it should be the same.
The JavaFX libs are inside the runnable jar, the app is not modular, so it is a little strange that it works one way but not the other.
I am on a Mac M1.
Modules known to my installed JRE:
java --list-modules
java.base#18.0.1
java.compiler#18.0.1
java.datatransfer#18.0.1
java.desktop#18.0.1
java.instrument#18.0.1
java.logging#18.0.1
java.management#18.0.1
java.management.rmi#18.0.1
java.naming#18.0.1
java.net.http#18.0.1
java.prefs#18.0.1
java.rmi#18.0.1
java.scripting#18.0.1
java.se#18.0.1
java.security.jgss#18.0.1
java.security.sasl#18.0.1
java.smartcardio#18.0.1
java.sql#18.0.1
java.sql.rowset#18.0.1
java.transaction.xa#18.0.1
java.xml#18.0.1
java.xml.crypto#18.0.1
jdk.accessibility#18.0.1
jdk.attach#18.0.1
jdk.charsets#18.0.1
jdk.compiler#18.0.1
jdk.crypto.cryptoki#18.0.1
jdk.crypto.ec#18.0.1
jdk.dynalink#18.0.1
jdk.editpad#18.0.1
jdk.hotspot.agent#18.0.1
jdk.httpserver#18.0.1
jdk.incubator.foreign#18.0.1
jdk.incubator.vector#18.0.1
jdk.internal.ed#18.0.1
jdk.internal.jvmstat#18.0.1
jdk.internal.le#18.0.1
jdk.internal.opt#18.0.1
jdk.internal.vm.ci#18.0.1
jdk.internal.vm.compiler#18.0.1
jdk.internal.vm.compiler.management#18.0.1
jdk.jartool#18.0.1
jdk.javadoc#18.0.1
jdk.jcmd#18.0.1
jdk.jconsole#18.0.1
jdk.jdeps#18.0.1
jdk.jdi#18.0.1
jdk.jdwp.agent#18.0.1
jdk.jfr#18.0.1
jdk.jlink#18.0.1
jdk.jpackage#18.0.1
jdk.jshell#18.0.1
jdk.jsobject#18.0.1
jdk.jstatd#18.0.1
jdk.localedata#18.0.1
jdk.management#18.0.1
jdk.management.agent#18.0.1
jdk.management.jfr#18.0.1
jdk.naming.dns#18.0.1
jdk.naming.rmi#18.0.1
jdk.net#18.0.1
jdk.nio.mapmode#18.0.1
jdk.random#18.0.1
jdk.sctp#18.0.1
jdk.security.auth#18.0.1
jdk.security.jgss#18.0.1
jdk.unsupported#18.0.1
jdk.unsupported.desktop#18.0.1
jdk.xml.dom#18.0.1
jdk.zipfs#18.0.1
Modules known to the bundled JRE:
DrKodi.app/Contents/PlugIns/jre/Contents/Home/bin/java --list-modules
java.base#18.0.1
java.datatransfer#18.0.1
java.desktop#18.0.1
java.logging#18.0.1
java.prefs#18.0.1
java.scripting#18.0.1
java.xml#18.0.1
jdk.unsupported#18.0.1
The App uses javafx-weaver, so it is basically a Desktop Spring Boot application.

AzerothCore does not support MySQL version installed (MariaDB 10.6.8 installed and running)

i've compiled the azerothcore from source on my aarch64 machine. I am running HestiaCP on it with MariaDB 10.6.8. When starting the authserver i get the message
MySQL client library: 8.0.29
MySQL server ver: 5.5.5-10.6.8-MariaDB-1:10.6.8+maria~focal
Connected to MySQL database at 127.0.0.1
AzerothCore does not support MySQL versions below 5.7 or MariaDB versions below 10.5
DatabasePool Login NOT opened. There were errors opening the MySQL connections. Check your log file for specific errors
I think there is a problem with checking the right DB version. I dont know why it starts with 5.5.5. Is it a linking problem? But i dont see any installed packages older than what is required by the server. Any guess?
CMake Output:
-- CMake version: 3.16.3
-- The CXX compiler identification is Clang 10.0.0
-- The C compiler identification is Clang 10.0.0
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Running cmake hook: AFTER_LOAD_CONF
-- No hooks registered for AFTER_LOAD_CONF
-- Enabled ะก++20 standard
-- Detected 64-bit platform
-- UNIX: Using jemalloc
-- UNIX: Using default configuration directory
-- UNIX: Using default library directory
-- UNIX: Configuring uninstall target
-- UNIX: Created uninstall target
-- UNIX: Detected compiler: /usr/bin/clang
-- Clang: Minimum version required is 10.0.0, found 10.0.0 - ok!
-- Performing Test CLANG_HAVE_PROPER_CHARCONV
-- Performing Test CLANG_HAVE_PROPER_CHARCONV - Success
-- Clang: All warnings enabled
-- Running cmake hook: AFTER_LOAD_CMAKE_MODULES
-- No hooks registered for AFTER_LOAD_CMAKE_MODULES
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL library: /usr/lib/aarch64-linux-gnu/libmariadb.so
-- Found MySQL headers: /usr/include/mariadb
-- Found MySQL executable: /usr/bin/mysql
-- Found git binary : /usr/bin/git
* AzerothCore revision : 9673da19470d 2022-07-03 19:50:39 +0000 (master branch)
* AzerothCore buildtype : RelWithDebInfo
* Install core to : /home/ubuntu/azeroth-server
* Install libraries to : /home/ubuntu/azeroth-server/lib
* Install configs to : /home/ubuntu/azeroth-server/etc
* Build applications : Yes (all)
* Build tools : No
* Build with scripts : Yes (static)
* Build with modules : Yes (static)
* Build unit tests : No (default)
* Build core w/PCH : Yes (default)
* Build scripts w/PCH : Yes (default)
* Show all warnings : Yes
* Use coreside debug : No (default)
* Use unix gperftools : No (default)
* Use GIT revision hash : Yes (default)
* Enable vmap DisableMgr checks : Yes (default)
* Show source tree : No (For UNIX default)
-- Performing Test HAVE_NEON
-- Performing Test HAVE_NEON - Success
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.67") found components: system filesystem program_options iostreams regex
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
-- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success
-- Looking for strtod_l
-- Looking for strtod_l - not found
-- Looking for MADV_FREE
-- Looking for MADV_FREE - found
-- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libssl.so;/usr/lib/aarch64-linux-gnu/libcrypto.so
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/aarch64-linux-gnu/libz.so (found version "1.2.11")
-- Found Readline library: /usr/lib/aarch64-linux-gnu/libreadline.so
-- Include dir is: /usr/include
-- Running cmake hook: BEFORE_SRC_LOAD
-- No hooks registered for BEFORE_SRC_LOAD
* Apps build list (all):
|
+- apps
| +- authserver
| +- worldserver
|
-- Running cmake hook: BEFORE_GAME_LIBRARY
-- No hooks registered for BEFORE_GAME_LIBRARY
-- Running cmake hook: AFTER_GAME_LIBRARY
-- No hooks registered for AFTER_GAME_LIBRARY
-- Running cmake hook: BEFORE_SCRIPTS_LIBRARY
-- No hooks registered for BEFORE_SCRIPTS_LIBRARY
* Script configuration (static):
|
+- worldserver
| +- Commands
| +- Custom
| +- EasternKingdoms
| +- Events
| +- Kalimdor
| +- Northrend
| +- OutdoorPvP
| +- Outland
| +- Pet
| +- Spells
| +- World
|
* Modules configuration (static):
|
-- * Modules config list:
|
-- Running cmake hook: AFTER_SRC_LOAD
-- No hooks registered for AFTER_SRC_LOAD
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
TOOLS
-- Build files have been written to: /home/ubuntu/src/azerothcore/build
mysql -V / mariadb -V output:
mysql Ver 15.1 Distrib 10.6.8-MariaDB, for debian-linux-gnu (aarch64) using readline 5.2
installed packages with mysql tag:
libmysqlclient21/focal-updates,focal-security,now 8.0.29-0ubuntu0.20.04.3 arm64 [installed,automatic]
mysql-common/unknown,now 1:10.6.8+maria~focal all [installed,automatic]
php8.0-mysql/focal,now 1:8.0.20-2+ubuntu20.04.1+deb.sury.org+1 arm64 [installed]
installed packages with mariadb tag:
libdbd-mariadb-perl/focal,now 1.11-3ubuntu2 arm64 [installed,automatic]
libmariadb-dev-compat/unknown,now 1:10.6.8+maria~focal arm64 [installed]
libmariadb-dev/unknown,now 1:10.6.8+maria~focal arm64 [installed]
libmariadb3/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client-core-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-client/unknown,now 1:10.6.8+maria~focal all [installed]
mariadb-common/unknown,now 1:10.6.8+maria~focal all [installed]
mariadb-server-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-server-core-10.6/unknown,now 1:10.6.8+maria~focal arm64 [installed,automatic]
mariadb-server/unknown,now 1:10.6.8+maria~focal all [installed]

Build Buck failed in M1 chip

I try to install buck using homebrew and source code to build
In homebrew installation was encounter that cannot install openJdk#8 because it didn't support M1 chip.
Therefore I was installed azul java8
1.8.0_312 (arm64) "Azul Systems, Inc." - "Zulu 8.58.0.13" /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
And try to build buck (ant)
But there is the error message.
javac-plugin:
[javac] Compiling 4 source files to /Users/even/buck/ant-out/javac-plugin/classes
[javac] [compiled 515 lines in 381 ms: 1351.7 lines/s]
[javac] [4 .class files generated]
[jar] Building jar: /Users/even/buck/ant-out/javac-plugin/javac-plugin.jar
[copy] Copying 1 file to /Users/even/buck/ant-out/classes/com/facebook/buck/jvm/java/plugin
report-generator-jar:
[jar] Building jar: /Users/even/buck/ant-out/report-generator.jar
create-classpath:
create-classpath-hash:
[delete] Deleting: /Users/even/buck/ant-out/classes/META-INF/buck-binary-hash.txt
[echo] Generated Buck hash: ad0b5925588b10541e7be7b16386cd6f
gen-buck-info:
BUILD FAILED
/Users/even/buck/build.xml:1074: exec returned: 137
Does anyone has experience? Thanks for your helping.
Try to use SDKMAN https://sdkman.io. I can assure you that Liberica JDK 8 installs smoothly on M1
sdk install java 8.0.312-librca

I am getting this sbt error , Is there any way to fix this issue

I have this issue while running sbt package command
C:\Users\U101\IdeaProjects\sbt1>sbt package
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
[info] welcome to sbt 1.4.7 (Oracle Corporation Java 10.0.2)
[info] loading global plugins from C:\Users\U101\.sbt\1.0\plugins
[info] loading project definition from C:\Users\U101\IdeaProjects\sbt1\project
[info] loading settings for project sbt1 from build.sbt ...
[info] set current project to sbt1 (in build file:/C:/Users/U1081739/IdeaProjects/sbt1/)
[info] compiling 10 Scala sources to C:\Users\U1081739\IdeaProjects\sbt1\target\scala-2.11\classes ...
[info] Non-compiled module 'compiler-bridge_2.11' for Scala 2.11.12. Compiling...
error: java.lang.NullPointerException
| => sat scala.reflect.io.JavaToolsPlatformArchive.iterator(ZipArchive.scala:301)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.reflect.io.AbstractFile.foreach(AbstractFile.scala:92)
at scala.tools.nsc.util.DirectoryClassPath.traverse(ClassPath.scala:277)
at scala.tools.nsc.util.DirectoryClassPath.x$15$lzycompute(ClassPath.scala:299)
at scala.tools.nsc.util.DirectoryClassPath.x$15(ClassPath.scala:299)
at scala.tools.nsc.util.DirectoryClassPath.packages$lzycompute(ClassPath.scala:299)
at scala.tools.nsc.util.DirectoryClassPath.packages(ClassPath.scala:299)
at scala.tools.nsc.util.DirectoryClassPath.packages(ClassPath.scala:264)
at scala.tools.nsc.util.MergedClassPath$$anonfun$packages$1.apply(ClassPath.scala:358)
at scala.tools.nsc.util.MergedClassPath$$anonfun$packages$1.apply(ClassPath.scala:358)
at scala.collection.Iterator$class.foreach(Iterator.scala:891)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
at scala.tools.nsc.util.MergedClassPath.packages$lzycompute(ClassPath.scala:358)
at scala.tools.nsc.util.MergedClassPath.packages(ClassPath.scala:353)
at scala.tools.nsc.symtab.SymbolLoaders$PackageLoader$$anonfun$doComplete$1.apply$mcV$sp(SymbolLoaders.scala:269)
at scala.tools.nsc.symtab.SymbolLoaders$PackageLoader$$anonfun$doComplete$1.apply(SymbolLoaders.scala:260)
at scala.tools.nsc.symtab.SymbolLoaders$PackageLoader$$anonfun$doComplete$1.apply(SymbolLoaders.scala:260)
at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:235)
Can you help please
JDK installed is 1.8 in my laptop
I added jdk 8 in my environment variables, i also installed sbt sbt-0.13.18 , i dont know how it takes sbt 1.4.7

How to compile rusqlite 0.20.0 with cargo

I'm trying to add sqlite support in my rust project. I found rusqlite on crates.io. I added the version line to Cargo.toml. I added some imports (unused) that I found on the rusqlite docs page. After running car go build I revived an error.
I hadn't implemented anything yet. I just wanted to get the dependency added and compiling. main.rs:
extern crate rusqlite;
use rusqlite::{Connection, Result};
use rusqlite::NO_PARAMS;
Cargo.toml:
[package]
name = "program"
version = "0.1.0"
authors = ["97"]
[dependencies]
argparse = "0.2.2"
rand = "0.4.0"
rusqlite = "0.20.0"
Error recived:
$ cargo build
Compiling pkg-config v0.3.16
Compiling fallible-iterator v0.2.0
Compiling memchr v2.2.1
Compiling bitflags v1.2.1
Compiling lru-cache v0.1.2
error[E0432]: unresolved import `std::ops::Bound`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.3.16/src/lib.rs:72:16
|
72 | use std::ops::{Bound, RangeBounds};
| ^^^^^ no `Bound` in `ops`
error[E0432]: unresolved import `std::ops::RangeBounds`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.3.16/src/lib.rs:72:23
|
72 | use std::ops::{Bound, RangeBounds};
| ^^^^^^^^^^^ no `RangeBounds` in `ops`
error[E0658]: `dyn Trait` syntax is unstable (see issue #44662)
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.3.16/src/lib.rs:143:32
|
143 | fn cause(&self) -> Option<&dyn error::Error> {
| ^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors
error: Could not compile `pkg-config`.
warning: build failed, waiting for other jobs to finish...
error[E0658]: `crate` in paths is experimental (see issue #45477)
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/fallible-iterator-0.2.0/src/lib.rs:98:5
|
98 | use crate::imports::*;
| ^^^^^
error[E0658]: `dyn Trait` syntax is unstable (see issue #44662)
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/fallible-iterator-0.2.0/src/lib.rs:2606:24
|
2606 | fn _is_object_safe(_: &dyn DoubleEndedFallibleIterator<Item = (), Error = ()>) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors
error: Could not compile `fallible-iterator`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Edit
cargo 0.26.0 (41480f5cc 2018-02-26)
rustc 1.25.0 (84203cac6 2018-03-25)
Most crates support only the latest Rust version. You could try to use an older version of the crate, but the easiest way is to update Rust to a currently-supported version.
If you're using Rust from a Linux distro, then uninstall it, and get it from https://rustup.rs which can keep it up to date. Rust ecosystem moves much faster than most distributions.
Run rustup update.

Resources