[INFO] cloning repository https://github.com/ali-bibak/bitcoin-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ali-bibak/bitcoin-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali-bibak%2Fbitcoin-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali-bibak%2Fbitcoin-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc1d9154509c85b0d8191a4f9f5fb354ca19d3c9 [INFO] checking ali-bibak/bitcoin-client against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fali-bibak%2Fbitcoin-client" "/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/ali-bibak/bitcoin-client on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ali-bibak/bitcoin-client [INFO] finished tweaking git repo https://github.com/ali-bibak/bitcoin-client [INFO] tweaked toml for git repo https://github.com/ali-bibak/bitcoin-client written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/ali-bibak/bitcoin-client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.51 [INFO] [stderr] Downloaded web-sys v0.3.28 [INFO] [stderr] Downloaded hex-literal-impl v0.2.1 [INFO] [stderr] Downloaded js-sys v0.3.28 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.51 [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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1da119209cb4a9347ba48619583601033de0eeca8c6e783efeb80fb568a0f163 [INFO] running `Command { std: "docker" "start" "-a" "1da119209cb4a9347ba48619583601033de0eeca8c6e783efeb80fb568a0f163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1da119209cb4a9347ba48619583601033de0eeca8c6e783efeb80fb568a0f163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da119209cb4a9347ba48619583601033de0eeca8c6e783efeb80fb568a0f163", kill_on_drop: false }` [INFO] [stdout] 1da119209cb4a9347ba48619583601033de0eeca8c6e783efeb80fb568a0f163 [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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b48fe039ae852fc3dcff60bc9dee9229ea3d2f613749f098666f8bcc3e455d3 [INFO] running `Command { std: "docker" "start" "-a" "1b48fe039ae852fc3dcff60bc9dee9229ea3d2f613749f098666f8bcc3e455d3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.5 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling hex-literal-impl v0.2.1 [INFO] [stderr] Checking hex-literal v0.2.1 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bitcoin v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/miner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/miner.rs:106:79 [INFO] [stdout] | [INFO] [stdout] 106 | let mut file = File::create(filename).expect("Unable to create file");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/network/worker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recv` found for struct `MutexGuard<'_, Blockchain>` in the current scope [INFO] [stdout] --> src/network/worker.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | let x = blockchain.recv(); [INFO] [stdout] | ^^^^ method not found in `MutexGuard<'_, Blockchain>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `recv`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `net2::ext::UdpSocketExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/miner.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/miner.rs:106:79 [INFO] [stdout] | [INFO] [stdout] 106 | let mut file = File::create(filename).expect("Unable to create file");; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/network/worker.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recv` found for struct `MutexGuard<'_, blockchain::Blockchain>` in the current scope [INFO] [stdout] --> src/network/worker.rs:97:40 [INFO] [stdout] | [INFO] [stdout] 97 | let x = blockchain.recv(); [INFO] [stdout] | ^^^^ method not found in `MutexGuard<'_, blockchain::Blockchain>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `recv`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `net2::ext::UdpSocketExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1b48fe039ae852fc3dcff60bc9dee9229ea3d2f613749f098666f8bcc3e455d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b48fe039ae852fc3dcff60bc9dee9229ea3d2f613749f098666f8bcc3e455d3", kill_on_drop: false }` [INFO] [stdout] 1b48fe039ae852fc3dcff60bc9dee9229ea3d2f613749f098666f8bcc3e455d3