[INFO] updating cached repository https://github.com/rhodium45/blockchain [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 32cd3a16944cd37393a311314ad157a3a7f621ab [INFO] checking rhodium45/blockchain against try#e689e5eaefe96e6dc3ed5bb629c521b7d207aff7 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Frhodium45%2Fblockchain" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rhodium45/blockchain on toolchain e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/rhodium45/blockchain [INFO] finished tweaking git repo https://github.com/rhodium45/blockchain [INFO] tweaked toml for git repo https://github.com/rhodium45/blockchain written to work/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/rhodium45/blockchain already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3724382f93890d7e91c206f12fc9398fec147e80755de0c39184b50dafe3edff [INFO] running `"docker" "start" "-a" "3724382f93890d7e91c206f12fc9398fec147e80755de0c39184b50dafe3edff"` [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling serde_derive v1.0.42 [INFO] [stderr] Checking blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/blockchain.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn hex_to_string(vec_res: &[u8]) -> String { [INFO] [stderr] | ------ expected `std::string::String` because of return type [INFO] [stderr] 170 | let mut s = String::new(); [INFO] [stderr] 171 | / for b in vec_res { [INFO] [stderr] 172 | | write!(&mut s, "{:x}", b).expect("unable to write"); [INFO] [stderr] 173 | | } [INFO] [stderr] | |_________^ expected struct `std::string::String`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `blockchain`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/blockchain.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 169 | pub fn hex_to_string(vec_res: &[u8]) -> String { [INFO] [stderr] | ------ expected `std::string::String` because of return type [INFO] [stderr] 170 | let mut s = String::new(); [INFO] [stderr] 171 | / for b in vec_res { [INFO] [stderr] 172 | | write!(&mut s, "{:x}", b).expect("unable to write"); [INFO] [stderr] 173 | | } [INFO] [stderr] | |_________^ expected struct `std::string::String`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::string::String` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `blockchain`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3724382f93890d7e91c206f12fc9398fec147e80755de0c39184b50dafe3edff"` [INFO] running `"docker" "rm" "-f" "3724382f93890d7e91c206f12fc9398fec147e80755de0c39184b50dafe3edff"` [INFO] [stdout] 3724382f93890d7e91c206f12fc9398fec147e80755de0c39184b50dafe3edff