[INFO] updating cached repository chainaccelerator/gitGraphChain [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/chainaccelerator/gitGraphChain [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/chainaccelerator/gitGraphChain" "work/ex/clippy-test-run/sources/stable/gh/chainaccelerator/gitGraphChain"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/chainaccelerator/gitGraphChain'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/chainaccelerator/gitGraphChain" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/chainaccelerator/gitGraphChain"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/chainaccelerator/gitGraphChain'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 830115e77fb8c812099307b807c4e74db02de4ac [INFO] sha for GitHub repo chainaccelerator/gitGraphChain: 830115e77fb8c812099307b807c4e74db02de4ac [INFO] validating manifest of chainaccelerator/gitGraphChain on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of chainaccelerator/gitGraphChain on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing chainaccelerator/gitGraphChain [INFO] finished frobbing chainaccelerator/gitGraphChain [INFO] frobbed toml for chainaccelerator/gitGraphChain written to work/ex/clippy-test-run/sources/stable/gh/chainaccelerator/gitGraphChain/Cargo.toml [INFO] started frobbing chainaccelerator/gitGraphChain [INFO] finished frobbing chainaccelerator/gitGraphChain [INFO] frobbed toml for chainaccelerator/gitGraphChain written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/chainaccelerator/gitGraphChain/Cargo.toml [INFO] crate chainaccelerator/gitGraphChain has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting chainaccelerator/gitGraphChain against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/chainaccelerator/gitGraphChain:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 64ccbfd9a3b3217b264e77d7063c80acbbc8045ba5b89f490d1d8a5aad324382 [INFO] running `"docker" "start" "-a" "64ccbfd9a3b3217b264e77d7063c80acbbc8045ba5b89f490d1d8a5aad324382"` [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking hmac v0.7.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking gitGraphChain v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/main.rs:18:37 [INFO] [stderr] | [INFO] [stderr] 18 | const GENESIS_AMOUNT_DEFAULT: u64 = 1000000000; [INFO] [stderr] | ^^^^^^^^^^ help: consider: `1_000_000_000` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:392:20 [INFO] [stderr] | [INFO] [stderr] 392 | } else { [INFO] [stderr] | ____________________^ [INFO] [stderr] 393 | | if !self.valid_proof(last_block.proof, i.proof, last_block_hash) { [INFO] [stderr] 394 | | false [INFO] [stderr] 395 | | } else {} [INFO] [stderr] 396 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 392 | } else if !self.valid_proof(last_block.proof, i.proof, last_block_hash) { [INFO] [stderr] 393 | false [INFO] [stderr] 394 | } else {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | sender: Host, [INFO] [stderr] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `Host`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `Host` [INFO] [stderr] = note: only the last field of a struct may have a dynamically sized type [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | transactions: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `Transaction`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `Transaction` [INFO] [stderr] = note: required by `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | current_transaction: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `Transaction`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `Transaction` [INFO] [stderr] = note: required by `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `gitGraphChain`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/main.rs:18:37 [INFO] [stderr] | [INFO] [stderr] 18 | const GENESIS_AMOUNT_DEFAULT: u64 = 1000000000; [INFO] [stderr] | ^^^^^^^^^^ help: consider: `1_000_000_000` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:392:20 [INFO] [stderr] | [INFO] [stderr] 392 | } else { [INFO] [stderr] | ____________________^ [INFO] [stderr] 393 | | if !self.valid_proof(last_block.proof, i.proof, last_block_hash) { [INFO] [stderr] 394 | | false [INFO] [stderr] 395 | | } else {} [INFO] [stderr] 396 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 392 | } else if !self.valid_proof(last_block.proof, i.proof, last_block_hash) { [INFO] [stderr] 393 | false [INFO] [stderr] 394 | } else {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | sender: Host, [INFO] [stderr] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `Host`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `Host` [INFO] [stderr] = note: only the last field of a struct may have a dynamically sized type [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | transactions: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `Transaction`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `Transaction` [INFO] [stderr] = note: required by `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | current_transaction: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: within `Transaction`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `Transaction` [INFO] [stderr] = note: required by `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `gitGraphChain`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "64ccbfd9a3b3217b264e77d7063c80acbbc8045ba5b89f490d1d8a5aad324382"` [INFO] running `"docker" "rm" "-f" "64ccbfd9a3b3217b264e77d7063c80acbbc8045ba5b89f490d1d8a5aad324382"` [INFO] [stdout] 64ccbfd9a3b3217b264e77d7063c80acbbc8045ba5b89f490d1d8a5aad324382