[INFO] fetching crate ethcontract 0.25.1... [INFO] checking ethcontract-0.25.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate ethcontract 0.25.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ethcontract 0.25.1 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ethcontract 0.25.1 [INFO] finished tweaking crates.io crate ethcontract 0.25.1 [INFO] tweaked toml for crates.io crate ethcontract 0.25.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ef022accb59e299b884360fcb9c60ab57f92cc48e7ebbc77d80e2508c34c778 [INFO] running `Command { std: "docker" "start" "-a" "7ef022accb59e299b884360fcb9c60ab57f92cc48e7ebbc77d80e2508c34c778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ef022accb59e299b884360fcb9c60ab57f92cc48e7ebbc77d80e2508c34c778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef022accb59e299b884360fcb9c60ab57f92cc48e7ebbc77d80e2508c34c778", kill_on_drop: false }` [INFO] [stdout] 7ef022accb59e299b884360fcb9c60ab57f92cc48e7ebbc77d80e2508c34c778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 439e4e113de98d45618f4b3f80453096d1809fccb8668901c006341314b10bb3 [INFO] running `Command { std: "docker" "start" "-a" "439e4e113de98d45618f4b3f80453096d1809fccb8668901c006341314b10bb3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling curl-sys v0.4.66+curl-8.3.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling keccak v0.1.4 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking soketto v0.7.1 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking web3-async-native-tls v0.4.0 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking primitive-types v0.12.1 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Compiling web3 v0.19.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Compiling ethcontract-common v0.25.1 [INFO] [stderr] Compiling ethcontract-generate v0.25.1 [INFO] [stderr] Compiling ethcontract-derive v0.25.1 [INFO] [stderr] Checking ethcontract v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `batch` as mutable more than once at a time [INFO] [stdout] --> src/batch.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 108 | let results = vec![ [INFO] [stdout] | _______________________- [INFO] [stdout] 109 | | batch.push(CallRequest::default(), None), [INFO] [stdout] | | ----- first mutable borrow occurs here [INFO] [stdout] 110 | | batch.push(CallRequest::default(), None), [INFO] [stdout] | | ^^^^^ second mutable borrow occurs here [INFO] [stdout] 111 | | ]; [INFO] [stdout] | |_________- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `batch` because it is borrowed [INFO] [stdout] --> src/batch.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut batch = CallBatch::new(transport); [INFO] [stdout] | --------- binding `batch` declared here [INFO] [stdout] ... [INFO] [stdout] 109 | batch.push(CallRequest::default(), None), [INFO] [stdout] | ----- borrow of `batch` occurs here [INFO] [stdout] ... [INFO] [stdout] 113 | batch.execute_all(usize::MAX).immediate(); [INFO] [stdout] | ^^^^^ move out of `batch` occurs here [INFO] [stdout] 114 | [INFO] [stdout] 115 | let results = join_all(results).immediate(); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `batch` does not live long enough [INFO] [stdout] --> src/batch.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 122 | let future = { [INFO] [stdout] | ------ borrow later stored here [INFO] [stdout] 123 | let transport = TestTransport::new(); [INFO] [stdout] 124 | let mut batch = CallBatch::new(transport); [INFO] [stdout] | --------- binding `batch` declared here [INFO] [stdout] 125 | batch.push(CallRequest::default(), None) [INFO] [stdout] | ^^^^^ borrowed value does not live long enough [INFO] [stdout] 126 | }; [INFO] [stdout] | - `batch` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `batch` because it is borrowed [INFO] [stdout] --> src/batch.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 137 | let mut batch = CallBatch::new(transport); [INFO] [stdout] | --------- binding `batch` declared here [INFO] [stdout] 138 | let call = batch.push(CallRequest::default(), None); [INFO] [stdout] | ----- borrow of `batch` occurs here [INFO] [stdout] 139 | [INFO] [stdout] 140 | batch.execute_all(usize::MAX).immediate(); [INFO] [stdout] | ^^^^^ move out of `batch` occurs here [INFO] [stdout] 141 | match call.immediate().unwrap_err() { [INFO] [stdout] | ---- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `batch` as mutable more than once at a time [INFO] [stdout] --> src/batch.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 157 | let results = vec![ [INFO] [stdout] | _______________________- [INFO] [stdout] 158 | | batch.push(CallRequest::default(), None), [INFO] [stdout] | | ----- first mutable borrow occurs here [INFO] [stdout] 159 | | batch.push(CallRequest::default(), None), [INFO] [stdout] | | ^^^^^ second mutable borrow occurs here [INFO] [stdout] 160 | | batch.push(CallRequest::default(), None), [INFO] [stdout] 161 | | ]; [INFO] [stdout] | |_________- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `batch` as mutable more than once at a time [INFO] [stdout] --> src/batch.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 157 | let results = vec![ [INFO] [stdout] | _______________________- [INFO] [stdout] 158 | | batch.push(CallRequest::default(), None), [INFO] [stdout] | | ----- first mutable borrow occurs here [INFO] [stdout] 159 | | batch.push(CallRequest::default(), None), [INFO] [stdout] 160 | | batch.push(CallRequest::default(), None), [INFO] [stdout] | | ^^^^^ second mutable borrow occurs here [INFO] [stdout] 161 | | ]; [INFO] [stdout] | |_________- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `batch` because it is borrowed [INFO] [stdout] --> src/batch.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 155 | let mut batch = CallBatch::new(transport); [INFO] [stdout] | --------- binding `batch` declared here [INFO] [stdout] ... [INFO] [stdout] 158 | batch.push(CallRequest::default(), None), [INFO] [stdout] | ----- borrow of `batch` occurs here [INFO] [stdout] ... [INFO] [stdout] 163 | batch.execute_all(2).immediate(); [INFO] [stdout] | ^^^^^ move out of `batch` occurs here [INFO] [stdout] 164 | [INFO] [stdout] 165 | let results = join_all(results).immediate(); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethcontract` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "439e4e113de98d45618f4b3f80453096d1809fccb8668901c006341314b10bb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439e4e113de98d45618f4b3f80453096d1809fccb8668901c006341314b10bb3", kill_on_drop: false }` [INFO] [stdout] 439e4e113de98d45618f4b3f80453096d1809fccb8668901c006341314b10bb3