git clone https://git.hush.is/hush/SilentDragonPaper
cd SilentDragonPaper
./build.sh
Expectation: Build works and binary ./SilentDragonPaper created
Actual:
Fresh group v0.1.0 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Fresh time v0.2.23
Fresh fpe v0.1.0
Fresh libsecp256k1 v0.2.2
Fresh pairing v0.14.2 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Fresh lopdf v0.26.0
Fresh bellman v0.1.0 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Compiling printpdf v0.3.4
Fresh sapling-crypto v0.0.1 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Running `rustc --crate-name printpdf /home/duke/.cargo/registry/src/github.com-1ecc6299db9ec823/printpdf-0.3.4/src/lib.rs --color always --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="embedded_images"' --cfg 'feature="image"' -C metadata=118942ba79d8bbce -C extra-filename=-118942ba79d8bbce --out-dir /home/duke/newgit/SilentDragonPaper/cli/target/release/deps -L dependency=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps --extern image=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libimage-aafef5487c563185.rlib --extern lopdf=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/liblopdf-0ca118484c042d64.rlib --extern rusttype=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/librusttype-239462b03c28f1fe.rlib --extern time=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libtime-d18315d0ef0affb5.rlib --cap-lints allow`
Fresh zcash_primitives v0.0.0 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
error[E0277]: the trait bound `char: std::iter::Step` is not satisfied
--> /home/duke/.cargo/registry/src/github.com-1ecc6299db9ec823/printpdf-0.3.4/src/types/plugins/graphics/two_dimensional/font.rs:532:18
|
532 | for c in char::default()..std::char::MAX {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::iter::Step` is not implemented for `char`
|
= note: required because of the requirements on the impl of `std::iter::Iterator` for `std::ops::Range<char>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `printpdf`.
Caused by:
process didn't exit successfully: `rustc --crate-name printpdf /home/duke/.cargo/registry/src/github.com-1ecc6299db9ec823/printpdf-0.3.4/src/lib.rs --color always --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="embedded_images"' --cfg 'feature="image"' -C metadata=118942ba79d8bbce -C extra-filename=-118942ba79d8bbce --out-dir /home/duke/newgit/SilentDragonPaper/cli/target/release/deps -L dependency=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps --extern image=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libimage-aafef5487c563185.rlib --extern lopdf=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/liblopdf-0ca118484c042d64.rlib --extern rusttype=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/librusttype-239462b03c28f1fe.rlib --extern time=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libtime-d18315d0ef0affb5.rlib --cap-lints allow` (exit code: 1)
This code did work, but some changes in Rust API seem to have broken a dependency. Just Make It Work
Bounty: 25 HUSH
To reproduce:
```
git clone https://git.hush.is/hush/SilentDragonPaper
cd SilentDragonPaper
./build.sh
```
Expectation: Build works and binary `./SilentDragonPaper` created
Actual:
```
Fresh group v0.1.0 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Fresh time v0.2.23
Fresh fpe v0.1.0
Fresh libsecp256k1 v0.2.2
Fresh pairing v0.14.2 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Fresh lopdf v0.26.0
Fresh bellman v0.1.0 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Compiling printpdf v0.3.4
Fresh sapling-crypto v0.0.1 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
Running `rustc --crate-name printpdf /home/duke/.cargo/registry/src/github.com-1ecc6299db9ec823/printpdf-0.3.4/src/lib.rs --color always --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="embedded_images"' --cfg 'feature="image"' -C metadata=118942ba79d8bbce -C extra-filename=-118942ba79d8bbce --out-dir /home/duke/newgit/SilentDragonPaper/cli/target/release/deps -L dependency=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps --extern image=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libimage-aafef5487c563185.rlib --extern lopdf=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/liblopdf-0ca118484c042d64.rlib --extern rusttype=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/librusttype-239462b03c28f1fe.rlib --extern time=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libtime-d18315d0ef0affb5.rlib --cap-lints allow`
Fresh zcash_primitives v0.0.0 (https://git.hush.is/hush/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)
error[E0277]: the trait bound `char: std::iter::Step` is not satisfied
--> /home/duke/.cargo/registry/src/github.com-1ecc6299db9ec823/printpdf-0.3.4/src/types/plugins/graphics/two_dimensional/font.rs:532:18
|
532 | for c in char::default()..std::char::MAX {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::iter::Step` is not implemented for `char`
|
= note: required because of the requirements on the impl of `std::iter::Iterator` for `std::ops::Range<char>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `printpdf`.
Caused by:
process didn't exit successfully: `rustc --crate-name printpdf /home/duke/.cargo/registry/src/github.com-1ecc6299db9ec823/printpdf-0.3.4/src/lib.rs --color always --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="embedded_images"' --cfg 'feature="image"' -C metadata=118942ba79d8bbce -C extra-filename=-118942ba79d8bbce --out-dir /home/duke/newgit/SilentDragonPaper/cli/target/release/deps -L dependency=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps --extern image=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libimage-aafef5487c563185.rlib --extern lopdf=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/liblopdf-0ca118484c042d64.rlib --extern rusttype=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/librusttype-239462b03c28f1fe.rlib --extern time=/home/duke/newgit/SilentDragonPaper/cli/target/release/deps/libtime-d18315d0ef0affb5.rlib --cap-lints allow` (exit code: 1)
```
This code did work, but some changes in Rust API seem to have broken a dependency. Just Make It Work
Bounty: 25 HUSH
To reproduce:
Expectation: Build works and binary
./SilentDragonPaper
createdActual:
This code did work, but some changes in Rust API seem to have broken a dependency. Just Make It Work
Bounty: 25 HUSH
bounty plz :)
@jahway603 this is worth 500 HUSH, add it to my ztab
Closing as PR #3 fixed this.