[INFO] cloning repository https://github.com/sbnair/Substrate_ZeroknowledgeProof
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sbnair/Substrate_ZeroknowledgeProof" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbnair%2FSubstrate_ZeroknowledgeProof", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbnair%2FSubstrate_ZeroknowledgeProof'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f96f4285c60ef056d404801eea7e21462b0ff131
[INFO] documenting sbnair/Substrate_ZeroknowledgeProof against 1.54.0 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbnair%2FSubstrate_ZeroknowledgeProof" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof
[INFO] finished tweaking git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof
[INFO] tweaked toml for git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/sbnair/Substrate_ZeroknowledgeProof already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5104ee98a7620f7c3a1192cb95e11543431894f7c9d6ad64059cb08a08fa3928
[INFO] running `Command { std: "docker" "start" "-a" "5104ee98a7620f7c3a1192cb95e11543431894f7c9d6ad64059cb08a08fa3928", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5104ee98a7620f7c3a1192cb95e11543431894f7c9d6ad64059cb08a08fa3928", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5104ee98a7620f7c3a1192cb95e11543431894f7c9d6ad64059cb08a08fa3928", kill_on_drop: false }`
[INFO] [stdout] 5104ee98a7620f7c3a1192cb95e11543431894f7c9d6ad64059cb08a08fa3928
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] addbb57099604510762e1e17d4d3890cc7fab911604fba2db1cf3d39551d7a40
[INFO] running `Command { std: "docker" "start" "-a" "addbb57099604510762e1e17d4d3890cc7fab911604fba2db1cf3d39551d7a40", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.0.0
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking bit-vec v0.5.0 (https://github.com/osuketh/bit-vec#656d1139)
[INFO] [stderr]     Checking futures v0.1.25
[INFO] [stderr]    Compiling serde v1.0.87
[INFO] [stderr]    Compiling clear_on_drop v0.2.3
[INFO] [stderr]    Compiling ring v0.14.6
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling sr-std v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47)
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]    Compiling sr-io v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47)
[INFO] [stderr]     Checking blake2-rfc v0.2.18
[INFO] [stderr]     Checking blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9)
[INFO] [stderr]     Checking digest v0.7.6
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.87
[INFO] [stderr]    Compiling parity-codec-derive v3.0.0
[INFO] [stderr]     Checking parking_lot_core v0.4.0
[INFO] [stderr]     Checking trie-db v0.11.0
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking backtrace v0.3.13
[INFO] [stderr]     Checking merlin v1.0.2
[INFO] [stderr]     Checking fixed-hash v0.3.0
[INFO] [stderr]     Checking substrate-panic-handler v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47)
[INFO] [stderr]    Compiling curve25519-dalek v1.0.3
[INFO] [stderr]     Checking parity-codec v3.0.0
[INFO] [stderr]     Checking impl-serde v0.1.1
[INFO] [stderr]     Checking ed25519-dalek v1.0.0-pre.1
[INFO] [stderr]     Checking impl-codec v0.2.0
[INFO] [stderr]     Checking substrate-trie v0.4.0 (https://github.com/paritytech/substrate#3a9b1e47)
[INFO] [stderr]     Checking schnorrkel v0.0.0
[INFO] [stderr]     Checking primitive-types v0.2.1
[INFO] [stderr]     Checking pairing v0.14.2 (/opt/rustwide/workdir/pairing)
[INFO] [stderr]     Checking substrate-primitives v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47)
[INFO] [stderr]  Documenting pairing v0.14.2 (/opt/rustwide/workdir/pairing)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> pairing/src/bls12_381/fq.rs:524:9
[INFO] [stdout]     |
[INFO] [stdout] 524 |         try!(write!(f, "0x"));
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> pairing/src/bls12_381/fq.rs:526:13
[INFO] [stdout]     |
[INFO] [stdout] 526 |             try!(write!(f, "{:016x}", *i));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> pairing/src/bls12_381/fr.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         try!(write!(f, "0x"));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> pairing/src/bls12_381/fr.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |             try!(write!(f, "{:016x}", *i));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> pairing/src/utils.rs:163:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |         try!(self.read_exact(&mut buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> pairing/src/utils.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 170 |         try!(self.read_exact(&mut buf));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> pairing/src/lib.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn final_exponentiation(&Self::Fqk) -> Option<Self::Fqk>;
[INFO] [stdout]     |                             ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Fqk`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> pairing/src/lib.rs:675:18
[INFO] [stdout]     |
[INFO] [stdout] 675 |     fn from_repr(Self::Repr) -> Result<Self, PrimeFieldDecodingError>;
[INFO] [stdout]     |                  ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Repr`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> pairing/src/lib.rs:422:39
[INFO] [stdout]     |
[INFO] [stdout] 422 |             _ => write!(f, "{}", self.description())      
[INFO] [stdout]     |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> pairing/src/lib.rs:621:39
[INFO] [stdout]     |
[INFO] [stdout] 621 |             _ => write!(f, "{}", self.description()),
[INFO] [stdout]     |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> pairing/src/lib.rs:373:32
[INFO] [stdout]     |
[INFO] [stdout] 373 |             IoError::Group(ref err) => write!(f, "GroupDecodingError"),
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> pairing/src/lib.rs:596:13
[INFO] [stdout]     |
[INFO] [stdout] 596 |     fn from(e: IoError) -> GroupDecodingError {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> pairing/src/lib.rs:602:13
[INFO] [stdout]     |
[INFO] [stdout] 602 |     fn from(e: Result<(), GroupDecodingError>) -> IoError {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking substrate-state-machine v0.1.0 (https://github.com/paritytech/substrate#3a9b1e47)
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout]    --> pairing/src/lib.rs:123:62
[INFO] [stdout]     |
[INFO] [stdout] 123 |             [(&(p.into().prepare()), &(q.into().prepare()))].into_iter(),
[INFO] [stdout]     |                                                              ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  Documenting bellman-verifier v0.1.0 (/opt/rustwide/workdir/bellman-verifier)
[INFO] [stderr]  Documenting jubjub v0.1.0 (/opt/rustwide/workdir/jubjub)
[INFO] [stderr]     Checking bellman v0.1.0 (/opt/rustwide/workdir/bellman)
[INFO] [stderr]  Documenting bellman v0.1.0 (/opt/rustwide/workdir/bellman)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> bellman/src/lib.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> bellman/src/multiexp.rs:159:10
[INFO] [stdout]     |
[INFO] [stdout] 159 | ) -> Box<Future<Item=<G as CurveAffine>::Projective, Error=SynthesisError>>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item=<G as CurveAffine>::Projective, Error=SynthesisError>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> bellman/src/multiexp.rs:253:10
[INFO] [stdout]     |
[INFO] [stdout] 253 | ) -> Box<Future<Item=<G as CurveAffine>::Projective, Error=SynthesisError>>
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item=<G as CurveAffine>::Projective, Error=SynthesisError>`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BigEndian`
[INFO] [stdout]   --> bellman/src/groth16/mod.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | use byteorder::{BigEndian, ByteOrder};
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> bellman/src/lib.rs:256:34
[INFO] [stdout]     |
[INFO] [stdout] 256 |             write!(f, "{}", self.description())
[INFO] [stdout]     |                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ByteOrder`
[INFO] [stdout]   --> bellman/src/groth16/mod.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 | use byteorder::{BigEndian, ByteOrder};
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added.
[INFO] [stdout]   --> bellman/src/groth16/verifier.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 |         ].into_iter())
[INFO] [stdout]    |           ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(array_into_iter)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #66145 <https://github.com/rust-lang/rust/issues/66145>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking sapling-crypto v0.0.1 (/opt/rustwide/workdir/sapling-crypto)
[INFO] [stderr]  Documenting sapling-crypto v0.0.1 (/opt/rustwide/workdir/sapling-crypto)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> sapling-crypto/src/jubjub/fs.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         try!(write!(f, "0x"));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> sapling-crypto/src/jubjub/fs.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             try!(write!(f, "{:016x}", *i));
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition.
[INFO] [stdout]    --> sapling-crypto/src/jubjub/mod.rs:136:34
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn circuit_generators(&self, FixedGenerators) -> &[Vec<(E::Fr, E::Fr)>];
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: FixedGenerators`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:107:24
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn read<R: Read>(
[INFO] [stdout]     |                 - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 107 |         y_repr.read_le(reader)?;
[INFO] [stdout]     |                        ^^^^^^ expected `&[u8]`, found type parameter `R`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected reference `&[u8]`
[INFO] [stdout]             found type parameter `R`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error`
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:107:31
[INFO] [stdout]     |
[INFO] [stdout] 107 |         y_repr.read_le(reader)?;
[INFO] [stdout]     |                               ^ the trait `From<pairing::IoError>` is not implemented for `std::io::Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <std::io::Error as From<ErrorKind>>
[INFO] [stdout]               <std::io::Error as From<IntoInnerError<W>>>
[INFO] [stdout]               <std::io::Error as From<NulError>>
[INFO] [stdout]               <std::io::Error as From<rand_core::error::Error>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, pairing::IoError>>` for `Result<jubjub::edwards::Point<E, jubjub::Unknown>, std::io::Error>`
[INFO] [stdout]     = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:213:25
[INFO] [stdout]     |
[INFO] [stdout] 198 |     pub fn write<W: Write>(
[INFO] [stdout]     |                  - this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 213 |         y_repr.write_le(writer)
[INFO] [stdout]     |                         ^^^^^^ expected `&mut [u8]`, found type parameter `W`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]                   found type parameter `W`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/edwards.rs:213:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |     ) -> io::Result<()>
[INFO] [stdout]     |          -------------- expected `Result<(), std::io::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 213 |         y_repr.write_le(writer)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::io::Error`, found enum `pairing::IoError`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Result<_, std::io::Error>`
[INFO] [stdout]                found enum `Result<_, pairing::IoError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> sapling-crypto/src/jubjub/fs.rs:274:53
[INFO] [stdout]     |
[INFO] [stdout] 274 |             Err(PrimeFieldDecodingError::NotInField(format!("{}", r.0)))
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String`
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> sapling-crypto/src/redjubjub.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn read_scalar<E: JubjubEngine, R: Read>(reader: R) -> io::Result<E::Fs> {
[INFO] [stdout]    |                                 - this type parameter
[INFO] [stdout] 15 |     let mut s_repr = <E::Fs as PrimeField>::Repr::default();
[INFO] [stdout] 16 |     s_repr.read_le(reader)?;
[INFO] [stdout]    |                    ^^^^^^ expected `&[u8]`, found type parameter `R`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected reference `&[u8]`
[INFO] [stdout]            found type parameter `R`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error`
[INFO] [stdout]   --> sapling-crypto/src/redjubjub.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn read_scalar<E: JubjubEngine, R: Read>(reader: R) -> io::Result<E::Fs> {
[INFO] [stdout]    |                                                        ----------------- expected `std::io::Error` because of this
[INFO] [stdout] 15 |     let mut s_repr = <E::Fs as PrimeField>::Repr::default();
[INFO] [stdout] 16 |     s_repr.read_le(reader)?;
[INFO] [stdout]    |                           ^ the trait `From<pairing::IoError>` is not implemented for `std::io::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: the following implementations were found:
[INFO] [stdout]              <std::io::Error as From<ErrorKind>>
[INFO] [stdout]              <std::io::Error as From<IntoInnerError<W>>>
[INFO] [stdout]              <std::io::Error as From<NulError>>
[INFO] [stdout]              <std::io::Error as From<rand_core::error::Error>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, pairing::IoError>>` for `Result<<E as jubjub::JubjubEngine>::Fs, std::io::Error>`
[INFO] [stdout]    = note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> sapling-crypto/src/redjubjub.rs:28:28
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn write_scalar<E: JubjubEngine, W: Write>(s: &E::Fs, writer: W) -> io::Result<()> {
[INFO] [stdout]    |                                  - this type parameter
[INFO] [stdout] 28 |     s.into_repr().write_le(writer)
[INFO] [stdout]    |                            ^^^^^^ expected `&mut [u8]`, found type parameter `W`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut [u8]`
[INFO] [stdout]                  found type parameter `W`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> sapling-crypto/src/redjubjub.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn write_scalar<E: JubjubEngine, W: Write>(s: &E::Fs, writer: W) -> io::Result<()> {
[INFO] [stdout]    |                                                                     -------------- expected `Result<(), std::io::Error>` because of return type
[INFO] [stdout] 28 |     s.into_repr().write_le(writer)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::io::Error`, found enum `pairing::IoError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<_, std::io::Error>`
[INFO] [stdout]               found enum `Result<_, pairing::IoError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sapling-crypto`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "addbb57099604510762e1e17d4d3890cc7fab911604fba2db1cf3d39551d7a40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "addbb57099604510762e1e17d4d3890cc7fab911604fba2db1cf3d39551d7a40", kill_on_drop: false }`
[INFO] [stdout] addbb57099604510762e1e17d4d3890cc7fab911604fba2db1cf3d39551d7a40
