Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Does not compile #15

Open
caioalonso opened this issue Dec 29, 2017 · 0 comments
Open

Does not compile #15

caioalonso opened this issue Dec 29, 2017 · 0 comments

Comments

@caioalonso
Copy link

$ 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 dtolnay/indoc#10

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant