[INFO] cloning repository https://github.com/Vebnik/blockchain-impl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vebnik/blockchain-impl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVebnik%2Fblockchain-impl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVebnik%2Fblockchain-impl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b99f94e3875c924f4b4ed69747589e0af2ae7b5 [INFO] checking Vebnik/blockchain-impl against try#b8ee37b59c6e1f39bae18b85e057975ab0d89308 for pr-139587-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVebnik%2Fblockchain-impl" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vebnik/blockchain-impl on toolchain b8ee37b59c6e1f39bae18b85e057975ab0d89308 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Vebnik/blockchain-impl [INFO] finished tweaking git repo https://github.com/Vebnik/blockchain-impl [INFO] tweaked toml for git repo https://github.com/Vebnik/blockchain-impl written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Vebnik/blockchain-impl already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220bc1573d4be996489b8d7aefefc5ea0db7980af947ae4930a43a3fd1b3d310 [INFO] running `Command { std: "docker" "start" "-a" "220bc1573d4be996489b8d7aefefc5ea0db7980af947ae4930a43a3fd1b3d310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220bc1573d4be996489b8d7aefefc5ea0db7980af947ae4930a43a3fd1b3d310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220bc1573d4be996489b8d7aefefc5ea0db7980af947ae4930a43a3fd1b3d310", kill_on_drop: false }` [INFO] [stdout] 220bc1573d4be996489b8d7aefefc5ea0db7980af947ae4930a43a3fd1b3d310 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+b8ee37b59c6e1f39bae18b85e057975ab0d89308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7ec22763eedcda1fb1e3fe6ed11d7e4c9f5a2716e7a413e1476fece958aedb3 [INFO] running `Command { std: "docker" "start" "-a" "b7ec22763eedcda1fb1e3fe6ed11d7e4c9f5a2716e7a413e1476fece958aedb3", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking test-blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Transactions` in the current scope [INFO] [stdout] --> src/block.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | data.clone(), [INFO] [stdout] | ^^^^^ method not found in `Transactions` [INFO] [stdout] | [INFO] [stdout] ::: src/transactions.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Transactions { [INFO] [stdout] | ----------------------- method `clone` not found for this struct [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 `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Transactions` in the current scope [INFO] [stdout] --> src/block.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | data.clone(), [INFO] [stdout] | ^^^^^ method not found in `Transactions` [INFO] [stdout] | [INFO] [stdout] ::: src/transactions.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Transactions { [INFO] [stdout] | ----------------------- method `clone` not found for this struct [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 `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Self { timestamp, data, previous_block_hash, my_block_hash } [INFO] [stdout] | ^^^^ expected `Vec`, found `Transactions` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/block.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Self { timestamp, data, previous_block_hash, my_block_hash } [INFO] [stdout] | ^^^^ expected `Vec`, found `Transactions` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Transactions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_block_with_data` found for struct `chain::Chain` in the current scope [INFO] [stdout] --> src/tests/chain_test.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | blockchain.add_block_with_data(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `Chain` [INFO] [stdout] | [INFO] [stdout] ::: src/chain.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Chain { [INFO] [stdout] | ---------------- method `add_block_with_data` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-blockchain` (bin "test-blockchain") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test-blockchain` (bin "test-blockchain" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b7ec22763eedcda1fb1e3fe6ed11d7e4c9f5a2716e7a413e1476fece958aedb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ec22763eedcda1fb1e3fe6ed11d7e4c9f5a2716e7a413e1476fece958aedb3", kill_on_drop: false }` [INFO] [stdout] b7ec22763eedcda1fb1e3fe6ed11d7e4c9f5a2716e7a413e1476fece958aedb3