[INFO] cloning repository https://github.com/ZirionNeft/blockchain-rust-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZirionNeft/blockchain-rust-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZirionNeft%2Fblockchain-rust-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZirionNeft%2Fblockchain-rust-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de9380562bb8efeea579b1a59a9640448a35d577 [INFO] testing ZirionNeft/blockchain-rust-example against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZirionNeft%2Fblockchain-rust-example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ZirionNeft/blockchain-rust-example [INFO] finished tweaking git repo https://github.com/ZirionNeft/blockchain-rust-example [INFO] tweaked toml for git repo https://github.com/ZirionNeft/blockchain-rust-example written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ZirionNeft/blockchain-rust-example on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ZirionNeft/blockchain-rust-example 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded digest v0.10.1 [INFO] [stderr] Downloaded serde_with_macros v1.5.1 [INFO] [stderr] Downloaded crypto-common v0.1.1 [INFO] [stderr] Downloaded sha2 v0.10.0 [INFO] [stderr] Downloaded rfc6979 v0.1.0 [INFO] [stderr] Downloaded darling_macro v0.13.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.34 [INFO] [stderr] Downloaded bytestring v1.0.0 [INFO] [stderr] Downloaded futures-sink v0.3.19 [INFO] [stderr] Downloaded ecdsa v0.13.4 [INFO] [stderr] Downloaded actix-router v0.2.7 [INFO] [stderr] Downloaded actix-web-codegen v0.4.0 [INFO] [stderr] Downloaded actix-rt v1.1.1 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded elliptic-curve v0.11.10 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] [stderr] Downloaded darling_core v0.13.1 [INFO] [stderr] Downloaded actix-web v3.3.3 [INFO] [stderr] Downloaded trust-dns-proto v0.19.7 [INFO] [stderr] Downloaded serde v1.0.132 [INFO] [stderr] Downloaded serde_json v1.0.73 [INFO] [stderr] Downloaded actix-http v2.2.1 [INFO] [stderr] Downloaded futures-util v0.3.19 [INFO] [stderr] Downloaded awc v2.0.3 [INFO] [stderr] Downloaded semver v1.0.4 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.7 [INFO] [stderr] Downloaded brotli-sys v0.3.2 [INFO] [stderr] Downloaded futures-channel v0.3.19 [INFO] [stderr] Downloaded zeroize v1.5.1 [INFO] [stderr] Downloaded p256 v0.10.1 [INFO] [stderr] Downloaded getrandom v0.2.4 [INFO] [stderr] Downloaded serde_derive v1.0.132 [INFO] [stderr] Downloaded futures v0.3.19 [INFO] [stderr] Downloaded actix-codec v0.3.0 [INFO] [stderr] Downloaded tracing v0.1.29 [INFO] [stderr] Downloaded actix-service v1.0.6 [INFO] [stderr] Downloaded futures-core v0.3.19 [INFO] [stderr] Downloaded futures-macro v0.3.19 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded base64ct v1.3.3 [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded actix-server v1.0.4 [INFO] [stderr] Downloaded actix-testing v1.0.1 [INFO] [stderr] Downloaded actix-tls v2.0.0 [INFO] [stderr] Downloaded actix-connect v2.0.0 [INFO] [stderr] Downloaded tokio-util v0.3.1 [INFO] [stderr] Downloaded tracing-core v0.1.21 [INFO] [stderr] Downloaded actix-macros v0.1.3 [INFO] [stderr] Downloaded futures-io v0.3.19 [INFO] [stderr] Downloaded ff v0.11.0 [INFO] [stderr] Downloaded ripemd v0.1.0 [INFO] [stderr] Downloaded syn v1.0.83 [INFO] [stderr] Downloaded serde_with v1.11.0 [INFO] [stderr] Downloaded actix-utils v2.0.0 [INFO] [stderr] Downloaded brotli2 v0.3.2 [INFO] [stderr] Downloaded cookie v0.14.4 [INFO] [stderr] Downloaded actix-threadpool v0.3.3 [INFO] [stderr] Downloaded futures-task v0.3.19 [INFO] [stderr] Downloaded kv v0.22.0 [INFO] [stderr] Downloaded signature v1.4.0 [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded darling v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50b9ebfc3db56af9e07fc9a510c4022ec1a7a8669a5b50a1daa76942d7c09fdd [INFO] running `Command { std: "docker" "start" "-a" "50b9ebfc3db56af9e07fc9a510c4022ec1a7a8669a5b50a1daa76942d7c09fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50b9ebfc3db56af9e07fc9a510c4022ec1a7a8669a5b50a1daa76942d7c09fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b9ebfc3db56af9e07fc9a510c4022ec1a7a8669a5b50a1daa76942d7c09fdd", kill_on_drop: false }` [INFO] [stdout] 50b9ebfc3db56af9e07fc9a510c4022ec1a7a8669a5b50a1daa76942d7c09fdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fab873232dad59d2cf05fdd7c84ba87cf3f2837bb67ffea01738949e1fe2961b [INFO] running `Command { std: "docker" "start" "-a" "fab873232dad59d2cf05fdd7c84ba87cf3f2837bb67ffea01738949e1fe2961b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling zeroize v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling base64ct v1.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling ff v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.0 [INFO] [stderr] Compiling ripemd v0.1.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_with v1.11.0 [INFO] [stderr] Compiling elliptic-curve v0.11.10 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling p256 v0.10.1 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling kv v0.22.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.3 [INFO] [stderr] Compiling blockchain-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `left` and `right` are never read [INFO] [stdout] --> src/blockchain/merkle_tree.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MerkleNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | pub left: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub right: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain/proof_of_work.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(block: &block::Block) -> ProofOfWork { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(block: &block::Block) -> ProofOfWork<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "fab873232dad59d2cf05fdd7c84ba87cf3f2837bb67ffea01738949e1fe2961b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab873232dad59d2cf05fdd7c84ba87cf3f2837bb67ffea01738949e1fe2961b", kill_on_drop: false }` [INFO] [stdout] fab873232dad59d2cf05fdd7c84ba87cf3f2837bb67ffea01738949e1fe2961b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8e4610f47d3557c606cc2419b94fa87b26915b1c250a2451f69e046a1e6989da [INFO] running `Command { std: "docker" "start" "-a" "8e4610f47d3557c606cc2419b94fa87b26915b1c250a2451f69e046a1e6989da", kill_on_drop: false }` [INFO] [stderr] Compiling blockchain-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `left` and `right` are never read [INFO] [stdout] --> src/blockchain/merkle_tree.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MerkleNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | pub left: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub right: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain/proof_of_work.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(block: &block::Block) -> ProofOfWork { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(block: &block::Block) -> ProofOfWork<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "8e4610f47d3557c606cc2419b94fa87b26915b1c250a2451f69e046a1e6989da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4610f47d3557c606cc2419b94fa87b26915b1c250a2451f69e046a1e6989da", kill_on_drop: false }` [INFO] [stdout] 8e4610f47d3557c606cc2419b94fa87b26915b1c250a2451f69e046a1e6989da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a3dd7f891aa67b3727047981751667fc92086a18f55fcdcfe63f98776cbd8f39 [INFO] running `Command { std: "docker" "start" "-a" "a3dd7f891aa67b3727047981751667fc92086a18f55fcdcfe63f98776cbd8f39", kill_on_drop: false }` [INFO] [stderr] warning: fields `left` and `right` are never read [INFO] [stderr] --> src/blockchain/merkle_tree.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct MerkleNode { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 7 | pub left: Option>, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | pub right: Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MerkleNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/blockchain/proof_of_work.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new(block: &block::Block) -> ProofOfWork { [INFO] [stderr] | ^^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | pub fn new(block: &block::Block) -> ProofOfWork<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `blockchain-rust` (bin "blockchain-rust" test) generated 2 warnings (run `cargo fix --bin "blockchain-rust" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/blockchain_rust-deef272d98222b87) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a3dd7f891aa67b3727047981751667fc92086a18f55fcdcfe63f98776cbd8f39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3dd7f891aa67b3727047981751667fc92086a18f55fcdcfe63f98776cbd8f39", kill_on_drop: false }` [INFO] [stdout] a3dd7f891aa67b3727047981751667fc92086a18f55fcdcfe63f98776cbd8f39