[INFO] fetching crate grin_api 4.0.2... [INFO] checking grin_api-4.0.2 against master#a874956d940ecb3ed524b6176a171219ac4787ea for pr-76104 [INFO] extracting crate grin_api 4.0.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate grin_api 4.0.2 on toolchain a874956d940ecb3ed524b6176a171219ac4787ea [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate grin_api 4.0.2 [INFO] finished tweaking crates.io crate grin_api 4.0.2 [INFO] tweaked toml for crates.io crate grin_api 4.0.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7306127d04ae07354712a9668af03d4c2d0574d45423f36b20422a4c7719c88 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b7306127d04ae07354712a9668af03d4c2d0574d45423f36b20422a4c7719c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7306127d04ae07354712a9668af03d4c2d0574d45423f36b20422a4c7719c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7306127d04ae07354712a9668af03d4c2d0574d45423f36b20422a4c7719c88", kill_on_drop: false }` [INFO] [stdout] b7306127d04ae07354712a9668af03d4c2d0574d45423f36b20422a4c7719c88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "RUSTFLAGS=--cap-lints=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+a874956d940ecb3ed524b6176a171219ac4787ea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf3c94070ac59771e91aaad158a563ed87633308823d29531c2471707e611189 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bf3c94070ac59771e91aaad158a563ed87633308823d29531c2471707e611189", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Checking hashbrown v0.9.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.16 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Compiling easy-jsonrpc-proc-macro-mw v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking zip v0.5.8 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking grin_secp256k1zkp v0.7.9 [INFO] [stderr] Checking log4rs v0.12.0 [INFO] [stderr] Checking jsonrpc-core v10.1.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking easy-jsonrpc-mw v0.5.4 [INFO] [stderr] Checking grin_util v4.1.0 [INFO] [stderr] Checking rustls-native-certs v0.3.0 [INFO] [stderr] Checking grin_keychain v4.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking tokio-io-timeout v0.4.0 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Compiling croaring-sys-mw v0.4.5 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking hyper-timeout v0.3.1 [INFO] [stderr] Checking hyper-rustls v0.20.0 [INFO] [stderr] Checking croaring-mw v0.4.5 [INFO] [stderr] Checking grin_core v4.1.0 [INFO] [stderr] Checking grin_store v4.1.0 [INFO] [stderr] Checking grin_pool v4.1.0 [INFO] [stderr] Checking grin_chain v4.1.0 [INFO] [stderr] Checking grin_p2p v4.1.0 [INFO] [stderr] Checking grin_api v4.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `handlers::build_router`: The V1 Node API will be removed in grin 5.0.0. Please migrate to the V2 API as soon as possible. [INFO] [stdout] --> src/handlers.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let mut router = build_router( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `handlers::build_router`: The V1 Node API will be removed in grin 5.0.0. Please migrate to the V2 API as soon as possible. [INFO] [stdout] --> src/handlers.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let mut router = build_router( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/blocks_api.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | match w(&self.chain)?.get_header_for_output(&oid) { [INFO] [stdout] | ^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/blocks_api.rs:97:48 [INFO] [stdout] | [INFO] [stdout] 97 | match w(&self.chain)?.get_header_for_output(&oid) { [INFO] [stdout] | ^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/blocks_api.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | match w(&self.chain)?.get_header_for_output(&oid) { [INFO] [stdout] | ^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/blocks_api.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | match w(&self.chain)?.get_header_for_output(&oid) { [INFO] [stdout] | ^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `commit` on type `&&grin_core::core::Output` [INFO] [stdout] --> src/handlers/chain_api.rs:249:76 [INFO] [stdout] | [INFO] [stdout] 249 | .filter(|output| commitments.is_empty() || commitments.contains(&output.commit)) [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `identifier`, `proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `commit` on type `&&grin_core::core::Output` [INFO] [stdout] --> src/handlers/chain_api.rs:288:76 [INFO] [stdout] | [INFO] [stdout] 288 | .filter(|output| commitments.is_empty() || commitments.contains(&output.commit)) [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `identifier`, `proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/blocks_api.rs:97:48 [INFO] [stdout] | [INFO] [stdout] 97 | match w(&self.chain)?.get_header_for_output(&oid) { [INFO] [stdout] | ^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/blocks_api.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | match w(&self.chain)?.get_header_for_output(&oid) { [INFO] [stdout] | ^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `commit` on type `&&grin_core::core::Output` [INFO] [stdout] --> src/handlers/chain_api.rs:249:76 [INFO] [stdout] | [INFO] [stdout] 249 | .filter(|output| commitments.is_empty() || commitments.contains(&output.commit)) [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `identifier`, `proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `commit` on type `&&grin_core::core::Output` [INFO] [stdout] --> src/handlers/chain_api.rs:288:76 [INFO] [stdout] | [INFO] [stdout] 288 | .filter(|output| commitments.is_empty() || commitments.contains(&output.commit)) [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `identifier`, `proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/utils.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(output_pos) = chain.get_unspent(x)? { [INFO] [stdout] | ^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/utils.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(output_pos) = chain.get_unspent(x)? { [INFO] [stdout] | ^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/utils.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | return Ok(Some((output_pos, x.clone()))); [INFO] [stdout] | ^^^^^^^^^^ expected struct `CommitPos`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CommitPos` [INFO] [stdout] found tuple `(OutputIdentifier, CommitPos)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers/utils.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | return Ok(Some((output_pos, x.clone()))); [INFO] [stdout] | ^^^^^^^^^^ expected struct `CommitPos`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CommitPos` [INFO] [stdout] found tuple `(OutputIdentifier, CommitPos)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OutputIdentifier: From<&grin_core::core::Output>` is not satisfied [INFO] [stdout] --> src/types.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | let out_id = core::OutputIdentifier::from(output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&grin_core::core::Output>` is not implemented for `OutputIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OutputIdentifier: From<&grin_core::core::Output>` is not satisfied [INFO] [stdout] --> src/types.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | let out_id = core::OutputIdentifier::from(output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<&grin_core::core::Output>` is not implemented for `OutputIdentifier` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | let pos = chain.get_unspent(&out_id)?; [INFO] [stdout] | ^^^^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pos` on type `(OutputIdentifier, CommitPos)` [INFO] [stdout] --> src/types.rs:306:34 [INFO] [stdout] | [INFO] [stdout] 306 | let output_pos = pos.map(|x| x.pos).unwrap_or(0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `(OutputIdentifier, CommitPos)` [INFO] [stdout] --> src/types.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | let block_height = pos.map(|x| x.height).or(block_header.map(|x| x.height)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `commit` on type `&grin_core::core::Output` [INFO] [stdout] --> src/types.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | commit: output.commit, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `identifier`, `proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:296:31 [INFO] [stdout] | [INFO] [stdout] 296 | let pos = chain.get_unspent(&out_id)?; [INFO] [stdout] | ^^^^^^^ expected struct `Commitment`, found `&OutputIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pos` on type `(OutputIdentifier, CommitPos)` [INFO] [stdout] --> src/types.rs:306:34 [INFO] [stdout] | [INFO] [stdout] 306 | let output_pos = pos.map(|x| x.pos).unwrap_or(0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `height` on type `(OutputIdentifier, CommitPos)` [INFO] [stdout] --> src/types.rs:307:36 [INFO] [stdout] | [INFO] [stdout] 307 | let block_height = pos.map(|x| x.height).or(block_header.map(|x| x.height)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `commit` on type `&grin_core::core::Output` [INFO] [stdout] --> src/types.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | commit: output.commit, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `identifier`, `proof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for enum `Inputs` in the current scope [INFO] [stdout] --> src/types.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 636 | .iter() [INFO] [stdout] | ^^^^ method not found in `Inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for enum `Inputs` in the current scope [INFO] [stdout] --> src/types.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 636 | .iter() [INFO] [stdout] | ^^^^ method not found in `Inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grin_api` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bf3c94070ac59771e91aaad158a563ed87633308823d29531c2471707e611189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf3c94070ac59771e91aaad158a563ed87633308823d29531c2471707e611189", kill_on_drop: false }` [INFO] [stdout] bf3c94070ac59771e91aaad158a563ed87633308823d29531c2471707e611189