[INFO] cloning repository https://github.com/tmthecoder/rust-blockchain-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmthecoder/rust-blockchain-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmthecoder%2Frust-blockchain-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmthecoder%2Frust-blockchain-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9177cedb6b35f03c729903b875a3dbec5a44a3ab [INFO] checking tmthecoder/rust-blockchain-demo against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmthecoder%2Frust-blockchain-demo" "/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/tmthecoder/rust-blockchain-demo 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/tmthecoder/rust-blockchain-demo [INFO] finished tweaking git repo https://github.com/tmthecoder/rust-blockchain-demo [INFO] tweaked toml for git repo https://github.com/tmthecoder/rust-blockchain-demo written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tmthecoder/rust-blockchain-demo 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] 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] 2dbf233bb4657acabce2c0d483e1571a2bf3d884316b2ce18aea9f45e48be753 [INFO] running `Command { std: "docker" "start" "-a" "2dbf233bb4657acabce2c0d483e1571a2bf3d884316b2ce18aea9f45e48be753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dbf233bb4657acabce2c0d483e1571a2bf3d884316b2ce18aea9f45e48be753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbf233bb4657acabce2c0d483e1571a2bf3d884316b2ce18aea9f45e48be753", kill_on_drop: false }` [INFO] [stdout] 2dbf233bb4657acabce2c0d483e1571a2bf3d884316b2ce18aea9f45e48be753 [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] d808db4423d0bd5aaa2c25ef55a1ce8abc91510dc848198be07fec7f8e500d43 [INFO] running `Command { std: "docker" "start" "-a" "d808db4423d0bd5aaa2c25ef55a1ce8abc91510dc848198be07fec7f8e500d43", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking blake2 v0.9.1 [INFO] [stderr] Checking rust-blockchain v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved imports `core::Blockchain`, `core::Block`, `core::Account`, `core::Transaction` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, Account, Transaction}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^ no `Transaction` in `core` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Account` in `core` [INFO] [stdout] | | no `Block` in `core` [INFO] [stdout] | no `Blockchain` in `core` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{blockchain, Block, Account, Transaction}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, block, Account, Transaction}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, account, Transaction}; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, Account, transaction}; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `core` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, Account, Transaction}; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `core` could refer to a built-in crate [INFO] [stdout] = help: use `::core` to refer to this crate unambiguously [INFO] [stdout] note: `core` could also refer to the module defined here [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod core; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: use `crate::core` to refer to this module unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-blockchain` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `core::Blockchain`, `core::Block`, `core::Account`, `core::Transaction` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, Account, Transaction}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^^^^^ no `Transaction` in `core` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Account` in `core` [INFO] [stdout] | | no `Block` in `core` [INFO] [stdout] | no `Blockchain` in `core` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{blockchain, Block, Account, Transaction}; [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, block, Account, Transaction}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, account, Transaction}; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, Account, transaction}; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `core` is ambiguous (name vs any other name during import resolution) [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::{Blockchain, Block, Account, Transaction}; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: `core` could refer to a built-in crate [INFO] [stdout] = help: use `::core` to refer to this crate unambiguously [INFO] [stdout] note: `core` could also refer to the module defined here [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod core; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = help: use `crate::core` to refer to this module unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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" "d808db4423d0bd5aaa2c25ef55a1ce8abc91510dc848198be07fec7f8e500d43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d808db4423d0bd5aaa2c25ef55a1ce8abc91510dc848198be07fec7f8e500d43", kill_on_drop: false }` [INFO] [stdout] d808db4423d0bd5aaa2c25ef55a1ce8abc91510dc848198be07fec7f8e500d43