[INFO] fetching crate grin_pool 4.0.2... [INFO] checking grin_pool-4.0.2 against master#a874956d940ecb3ed524b6176a171219ac4787ea for pr-76104 [INFO] extracting crate grin_pool 4.0.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate grin_pool 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_pool 4.0.2 [INFO] finished tweaking crates.io crate grin_pool 4.0.2 [INFO] tweaked toml for crates.io crate grin_pool 4.0.2 written to /workspace/builds/worker-5/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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 99775a2fe482835f102956dcb2229b15024c6c8268c9a361a0f8107fd8e5888b [INFO] running `Command { std: "docker" "start" "-a" "99775a2fe482835f102956dcb2229b15024c6c8268c9a361a0f8107fd8e5888b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99775a2fe482835f102956dcb2229b15024c6c8268c9a361a0f8107fd8e5888b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99775a2fe482835f102956dcb2229b15024c6c8268c9a361a0f8107fd8e5888b", kill_on_drop: false }` [INFO] [stdout] 99775a2fe482835f102956dcb2229b15024c6c8268c9a361a0f8107fd8e5888b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 9adba6078eb06fd0756e2ff5ad819ef2683e4e62be657e7dc37124af98dd9f96 [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" "9adba6078eb06fd0756e2ff5ad819ef2683e4e62be657e7dc37124af98dd9f96", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking ripemd160 v0.7.0 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling zeroize_derive v0.9.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking zip v0.5.8 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking log4rs v0.12.0 [INFO] [stderr] Checking grin_util v4.1.0 [INFO] [stderr] Checking grin_keychain v4.1.0 [INFO] [stderr] Compiling croaring-sys-mw v0.4.5 [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.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pool.rs:145:51 [INFO] [stdout] | [INFO] [stdout] 145 | let weighting = Weighting::AsLimitedTransaction(max_weight); [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 145 | let weighting = Weighting::AsLimitedTransaction(max_weight.try_into().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pool.rs:174:35 [INFO] [stdout] | [INFO] [stdout] 174 | let tx = transaction::aggregate(txs)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&txs` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[grin_core::core::Transaction]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pool.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | transaction::aggregate(txs)? [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&txs` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[grin_core::core::Transaction]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pool.rs:272:40 [INFO] [stdout] | [INFO] [stdout] 272 | let agg_tx = transaction::aggregate(candidate_txs)?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&candidate_txs` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[grin_core::core::Transaction]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Inputs` is not an iterator [INFO] [stdout] --> src/pool.rs:357:17 [INFO] [stdout] | [INFO] [stdout] 357 | for input in entry.tx.inputs() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Inputs` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `Inputs` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `iter` found for enum `Inputs` in the current scope [INFO] [stdout] --> src/pool.rs:469:23 [INFO] [stdout] | [INFO] [stdout] 469 | && !x.tx.inputs().iter().any(|y| block.inputs().contains(y)) [INFO] [stdout] | ^^^^ method not found in `Inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Inputs` in the current scope [INFO] [stdout] --> src/pool.rs:469:53 [INFO] [stdout] | [INFO] [stdout] 469 | && !x.tx.inputs().iter().any(|y| block.inputs().contains(y)) [INFO] [stdout] | ^^^^^^^^ method not found in `Inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/pool.rs:517:39 [INFO] [stdout] | [INFO] [stdout] 517 | let agg_tx = transaction::aggregate(raw_txs.clone())?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&raw_txs` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[grin_core::core::Transaction]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction_pool.rs:116:49 [INFO] [stdout] | [INFO] [stdout] 116 | let tx = transaction::deaggregate(entry.tx, txs)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&txs` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[grin_core::core::Transaction]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/types.rs:147:2 [INFO] [stdout] | [INFO] [stdout] 146 | fn default_mineable_max_weight() -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] 147 | consensus::MAX_BLOCK_WEIGHT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `u64` to `usize` and panic if the converted value wouldn't fit [INFO] [stdout] | [INFO] [stdout] 147 | consensus::MAX_BLOCK_WEIGHT.try_into().unwrap() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grin_pool` [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" "9adba6078eb06fd0756e2ff5ad819ef2683e4e62be657e7dc37124af98dd9f96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9adba6078eb06fd0756e2ff5ad819ef2683e4e62be657e7dc37124af98dd9f96", kill_on_drop: false }` [INFO] [stdout] 9adba6078eb06fd0756e2ff5ad819ef2683e4e62be657e7dc37124af98dd9f96