[INFO] cloning repository https://github.com/gregoriB/blockchain-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gregoriB/blockchain-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 899751ac72e5c0cfb5a9d16f4892a558868d9287 [INFO] checking gregoriB/blockchain-Rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FgregoriB%2Fblockchain-Rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregoriB/blockchain-Rust 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/gregoriB/blockchain-Rust [INFO] finished tweaking git repo https://github.com/gregoriB/blockchain-Rust [INFO] tweaked toml for git repo https://github.com/gregoriB/blockchain-Rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/gregoriB/blockchain-Rust 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-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" "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] 7f0ff251f562f9cbed36b94b1d84b7f9246fe5f4151ac710446795ccf9642dee [INFO] running `Command { std: "docker" "start" "-a" "7f0ff251f562f9cbed36b94b1d84b7f9246fe5f4151ac710446795ccf9642dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f0ff251f562f9cbed36b94b1d84b7f9246fe5f4151ac710446795ccf9642dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f0ff251f562f9cbed36b94b1d84b7f9246fe5f4151ac710446795ccf9642dee", kill_on_drop: false }` [INFO] [stdout] 7f0ff251f562f9cbed36b94b1d84b7f9246fe5f4151ac710446795ccf9642dee [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" "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] 1afbcb059b3ae478d90a5b77ef0b62145fd223736a1d5c0c1bc5ef8496135861 [INFO] running `Command { std: "docker" "start" "-a" "1afbcb059b3ae478d90a5b77ef0b62145fd223736a1d5c0c1bc5ef8496135861", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking block_chain v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/blockchain/mod.rs (1 fix) [INFO] [stdout] error[E0432]: unresolved import `crate::BlockChain` [INFO] [stdout] --> src/blockchain/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::BlockChain; [INFO] [stdout] | ^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `blockchain` [INFO] [stdout] | no `BlockChain` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_prev_hash` [INFO] [stdout] --> src/block/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_prev_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_prev_hash` [INFO] [stdout] --> src/block/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn set_prev_hash(&mut self, hash: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_next_hash` [INFO] [stdout] --> src/block/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_next_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_next_hash` [INFO] [stdout] --> src/block/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_next_hash(&mut self, hash: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BlockChain` [INFO] [stdout] --> src/blockchain/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockChain { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_hash` [INFO] [stdout] --> src/transaction/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_hash(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sender` [INFO] [stdout] --> src/transaction/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_sender(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_receiver` [INFO] [stdout] --> src/transaction/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_receiver(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_amount` [INFO] [stdout] --> src/transaction/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_amount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `block_chain` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "1afbcb059b3ae478d90a5b77ef0b62145fd223736a1d5c0c1bc5ef8496135861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afbcb059b3ae478d90a5b77ef0b62145fd223736a1d5c0c1bc5ef8496135861", kill_on_drop: false }` [INFO] [stdout] 1afbcb059b3ae478d90a5b77ef0b62145fd223736a1d5c0c1bc5ef8496135861