[INFO] cloning repository https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denny1997/Bitcoin-client-with-Prism-1.0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenny1997%2FBitcoin-client-with-Prism-1.0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenny1997%2FBitcoin-client-with-Prism-1.0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 757cc0ca91a4d6e83d011df90227e6b86ed495d0 [INFO] checking denny1997/Bitcoin-client-with-Prism-1.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenny1997%2FBitcoin-client-with-Prism-1.0" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 [INFO] finished tweaking git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 [INFO] tweaked toml for git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/denny1997/Bitcoin-client-with-Prism-1.0 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex-literal-impl v0.2.1 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ef80dac0a7330bc52754b9286b232279cb30c3cefe26006888165474555bfe6 [INFO] running `Command { std: "docker" "start" "-a" "2ef80dac0a7330bc52754b9286b232279cb30c3cefe26006888165474555bfe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ef80dac0a7330bc52754b9286b232279cb30c3cefe26006888165474555bfe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ef80dac0a7330bc52754b9286b232279cb30c3cefe26006888165474555bfe6", kill_on_drop: false }` [INFO] [stdout] 2ef80dac0a7330bc52754b9286b232279cb30c3cefe26006888165474555bfe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c4542b66539ec5866537871cdf7a76d76343d77b08006c745f13357ae02b8f [INFO] running `Command { std: "docker" "start" "-a" "83c4542b66539ec5866537871cdf7a76d76343d77b08006c745f13357ae02b8f", kill_on_drop: false }` [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 rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking ascii v0.8.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking chunked_transfer v0.3.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking tiny_http v0.6.2 [INFO] [stderr] Checking crossbeam v0.7.2 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking hex v0.4.0 [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 (/opt/rustwide/workdir) [INFO] [stdout] error[E0560]: struct `block::Header` has no field named `difficulty` [INFO] [stdout] --> src/block.rs:66:60 [INFO] [stdout] | [INFO] [stdout] 66 | let header:Header = Header{parent:*parent,nonce:n1,difficulty:*parent,timestamp:n2,merkle_root:merkle_root}; [INFO] [stdout] | ^^^^^^^^^^ `block::Header` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `difficultyForPr`, `difficultyForTx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `txPointer` in initializer of `block::Block` [INFO] [stdout] --> src/block.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let block: Block = Block{header: header, content: content}; [INFO] [stdout] | ^^^^^ missing `txPointer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `transaction::Transaction` has no field named `transaction` [INFO] [stdout] --> src/transaction.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | Transaction{transaction: n1} [INFO] [stdout] | ^^^^^^^^^^^ `transaction::Transaction` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `recipientAddr`, `value`, `accountNonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/transaction.rs:158:28 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(verify(&t, &(key.public_key()), &signature.as_ref())); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&&PublicKey` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&&ring::ec::curve25519::ed25519::signing::PublicKey` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/transaction.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn verify(t: &Transaction, public_key: &[u8], signature: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^ ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` (bin "bitcoin" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "83c4542b66539ec5866537871cdf7a76d76343d77b08006c745f13357ae02b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c4542b66539ec5866537871cdf7a76d76343d77b08006c745f13357ae02b8f", kill_on_drop: false }` [INFO] [stdout] 83c4542b66539ec5866537871cdf7a76d76343d77b08006c745f13357ae02b8f