tickgrinder
tickgrinder copied to clipboard
Does not compile
$ make test
# copy libstd to the dist/lib directory if it's not already there
if [[ ! -f dist/lib/$(find $(rustc --print sysroot)/lib | grep -E "libstd-.*\.so" | head -1) ]]; then \
cp $(find $(rustc --print sysroot)/lib | grep -E "libstd-.*\.so" | head -1) dist/lib; \
fi;
cd configurator && LD_LIBRARY_PATH="../../dist/lib" RUSTFLAGS="-L ../../util/target/debug/deps -L ../../dist/lib -C prefer-dynamic" cargo test --no-fail-fast
Compiling bit-set v0.4.0
Compiling cursive v0.6.4
Compiling toml v0.4.5
Compiling rand v0.3.19
Compiling termion v1.5.1
Compiling num-integer v0.1.35
Compiling serde_json v0.8.6
Compiling num-complex v0.1.41
Compiling indoc v0.1.15
Compiling num-iter v0.1.34
Compiling num-bigint v0.1.41
Compiling chan v0.1.19
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> /home/caio/.cargo/registry/src/github.com-1ecc6299db9ec823/indoc-0.1.15/src/lib.rs:87:30
|
87 | let unindented = parse::str_lit(&unindent(&name.as_str()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
error: aborting due to previous error
error: Could not compile `indoc`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [Makefile:173: test] Error 101
Probably related to https://github.com/dtolnay/indoc/issues/10