[INFO] cloning repository https://github.com/meshach567/transaction_decoder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meshach567/transaction_decoder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeshach567%2Ftransaction_decoder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeshach567%2Ftransaction_decoder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85268ff872816981293f3fe4a5bdb8414a53b9e1 [INFO] checking meshach567/transaction_decoder against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeshach567%2Ftransaction_decoder" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/meshach567/transaction_decoder [INFO] finished tweaking git repo https://github.com/meshach567/transaction_decoder [INFO] tweaked toml for git repo https://github.com/meshach567/transaction_decoder written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/meshach567/transaction_decoder on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/meshach567/transaction_decoder 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3106d6dcf1f7fee99116dc38005a3849f0e3de194cb6c535978b7ad30948c804 [INFO] running `Command { std: "docker" "start" "-a" "3106d6dcf1f7fee99116dc38005a3849f0e3de194cb6c535978b7ad30948c804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3106d6dcf1f7fee99116dc38005a3849f0e3de194cb6c535978b7ad30948c804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3106d6dcf1f7fee99116dc38005a3849f0e3de194cb6c535978b7ad30948c804", kill_on_drop: false }` [INFO] [stdout] 3106d6dcf1f7fee99116dc38005a3849f0e3de194cb6c535978b7ad30948c804 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 747e806b8ba3074cdd103265eed0f579cc77eb8adca61a7f6e85f39f94ece153 [INFO] running `Command { std: "docker" "start" "-a" "747e806b8ba3074cdd103265eed0f579cc77eb8adca61a7f6e85f39f94ece153", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking transaction_decoder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn hash_key_transaction(raw_transaction: &[u8]) -> [u8, 32] { [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 57 - fn hash_key_transaction(raw_transaction: &[u8]) -> [u8, 32] { [INFO] [stdout] 57 + fn hash_key_transaction(raw_transaction: &[u8]) -> [u8; 32] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `]`, found `,` [INFO] [stdout] --> src/main.rs:57:55 [INFO] [stdout] | [INFO] [stdout] 57 | fn hash_key_transaction(raw_transaction: &[u8]) -> [u8, 32] { [INFO] [stdout] | ^ expected `;` or `]` [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `;` as the separator [INFO] [stdout] | [INFO] [stdout] 57 - fn hash_key_transaction(raw_transaction: &[u8]) -> [u8, 32] { [INFO] [stdout] 57 + fn hash_key_transaction(raw_transaction: &[u8]) -> [u8; 32] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Sha256` in this scope [INFO] [stdout] --> src/main.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Sha256` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use sha2::Sha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Sha256` in this scope [INFO] [stdout] --> src/main.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Sha256` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use sha2::Sha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Sha256` in this scope [INFO] [stdout] --> src/main.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Sha256` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use sha2::Sha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Sha256` in this scope [INFO] [stdout] --> src/main.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let mut hasher = Sha256::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Sha256` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use sha2::Sha256; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/main.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let mut bytes = Cursor::new(&[1_u8]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/main.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | let mut bytes = Cursor::new(&[253_u8, 0, 1]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let mut bytes = Cursor::new(&[254_u8, 0, 0, 1, 0]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/main.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | let mut bytes = Cursor::new(&[255_u8, 0, 0, 0, 0, 0, 0, 0, 1]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 120 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | fn hash_key_transaction(raw_transaction: &[u8]) -> [u8, 32] { [INFO] [stdout] | -------------------- ^^^^^^^^ expected `[u8; 32]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:57:52 [INFO] [stdout] | [INFO] [stdout] 57 | fn hash_key_transaction(raw_transaction: &[u8]) -> [u8, 32] { [INFO] [stdout] | -------------------- ^^^^^^^^ expected `[u8; 32]`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `transaction_decoder` (bin "transaction_decoder") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `transaction_decoder` (bin "transaction_decoder" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "747e806b8ba3074cdd103265eed0f579cc77eb8adca61a7f6e85f39f94ece153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747e806b8ba3074cdd103265eed0f579cc77eb8adca61a7f6e85f39f94ece153", kill_on_drop: false }` [INFO] [stdout] 747e806b8ba3074cdd103265eed0f579cc77eb8adca61a7f6e85f39f94ece153