[INFO] cloning repository https://github.com/kccqzy/SimpleBlockchain-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kccqzy/SimpleBlockchain-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a91e1b4b476af0e7d3047be4893a8c63d0a88377 [INFO] checking kccqzy/SimpleBlockchain-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs" "/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/kccqzy/SimpleBlockchain-rs 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/kccqzy/SimpleBlockchain-rs [INFO] finished tweaking git repo https://github.com/kccqzy/SimpleBlockchain-rs [INFO] tweaked toml for git repo https://github.com/kccqzy/SimpleBlockchain-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kccqzy/SimpleBlockchain-rs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 7469eeef52c1f4ea4ad98e26a9121d185fd453bf0330e0311c832e5f8e5692b7 [INFO] running `Command { std: "docker" "start" "-a" "7469eeef52c1f4ea4ad98e26a9121d185fd453bf0330e0311c832e5f8e5692b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7469eeef52c1f4ea4ad98e26a9121d185fd453bf0330e0311c832e5f8e5692b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7469eeef52c1f4ea4ad98e26a9121d185fd453bf0330e0311c832e5f8e5692b7", kill_on_drop: false }` [INFO] [stdout] 7469eeef52c1f4ea4ad98e26a9121d185fd453bf0330e0311c832e5f8e5692b7 [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] 02fae02e2420efde3fc82eb642bf5f1998a65f2a72db9d4e659cf080bc24d3c6 [INFO] running `Command { std: "docker" "start" "-a" "02fae02e2420efde3fc82eb642bf5f1998a65f2a72db9d4e659cf080bc24d3c6", 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.13 (as host dependency): full [INFO] [stderr] [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bs58 v0.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking backtrace v0.3.42 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking pwd v1.3.0 [INFO] [stderr] Checking thiserror v1.0.16 [INFO] [stderr] Checking expanduser v1.2.1 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking simple_blockchain v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/libblockchain.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/peer.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/tracker.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.88s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking simple_blockchain v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.44s [INFO] running `Command { std: "docker" "inspect" "02fae02e2420efde3fc82eb642bf5f1998a65f2a72db9d4e659cf080bc24d3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02fae02e2420efde3fc82eb642bf5f1998a65f2a72db9d4e659cf080bc24d3c6", kill_on_drop: false }` [INFO] [stdout] 02fae02e2420efde3fc82eb642bf5f1998a65f2a72db9d4e659cf080bc24d3c6