[INFO] updating cached repository BurNiinTRee/stack-calculator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/BurNiinTRee/stack-calculator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/BurNiinTRee/stack-calculator" "work/ex/clippy-test-run/sources/stable/gh/BurNiinTRee/stack-calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/BurNiinTRee/stack-calculator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/BurNiinTRee/stack-calculator" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/BurNiinTRee/stack-calculator"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/BurNiinTRee/stack-calculator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9643bce9a3118d8a2d06d8fe87cc864a9f4c0182 [INFO] sha for GitHub repo BurNiinTRee/stack-calculator: 9643bce9a3118d8a2d06d8fe87cc864a9f4c0182 [INFO] validating manifest of BurNiinTRee/stack-calculator 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 BurNiinTRee/stack-calculator 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 BurNiinTRee/stack-calculator [INFO] finished frobbing BurNiinTRee/stack-calculator [INFO] frobbed toml for BurNiinTRee/stack-calculator written to work/ex/clippy-test-run/sources/stable/gh/BurNiinTRee/stack-calculator/Cargo.toml [INFO] started frobbing BurNiinTRee/stack-calculator [INFO] finished frobbing BurNiinTRee/stack-calculator [INFO] frobbed toml for BurNiinTRee/stack-calculator written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/BurNiinTRee/stack-calculator/Cargo.toml [INFO] crate BurNiinTRee/stack-calculator 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 BurNiinTRee/stack-calculator against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/BurNiinTRee/stack-calculator:/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] 14d5308470879528257766bf7c430cd1e22e39745776e5f4b895e7cfed97e5e1 [INFO] running `"docker" "start" "-a" "14d5308470879528257766bf7c430cd1e22e39745776e5f4b895e7cfed97e5e1"` [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking stack-calculator v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `machine::Stack` [INFO] [stderr] --> src/machine.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | / pub fn new() -> Stack { [INFO] [stderr] 49 | | Stack(Vec::new()) [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/machine.rs:54:53 [INFO] [stderr] | [INFO] [stderr] 54 | Err(Error::NotCallable { token }) => Ok(self.0.push(token)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unit_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 54 | Err(Error::NotCallable { token }) => Ok(()), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `machine::ParserAggregator` [INFO] [stderr] --> src/machine.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | / pub fn new() -> ParserAggregator { [INFO] [stderr] 99 | | ParserAggregator { [INFO] [stderr] 100 | | objects: Vec::new(), [INFO] [stderr] 101 | | } [INFO] [stderr] 102 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `machine::Stack` [INFO] [stderr] --> src/machine.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | / pub fn new() -> Stack { [INFO] [stderr] 49 | | Stack(Vec::new()) [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/machine.rs:54:53 [INFO] [stderr] | [INFO] [stderr] 54 | Err(Error::NotCallable { token }) => Ok(self.0.push(token)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unit_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 54 | Err(Error::NotCallable { token }) => Ok(()), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `machine::ParserAggregator` [INFO] [stderr] --> src/machine.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | / pub fn new() -> ParserAggregator { [INFO] [stderr] 99 | | ParserAggregator { [INFO] [stderr] 100 | | objects: Vec::new(), [INFO] [stderr] 101 | | } [INFO] [stderr] 102 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.66s [INFO] running `"docker" "inspect" "14d5308470879528257766bf7c430cd1e22e39745776e5f4b895e7cfed97e5e1"` [INFO] running `"docker" "rm" "-f" "14d5308470879528257766bf7c430cd1e22e39745776e5f4b895e7cfed97e5e1"` [INFO] [stdout] 14d5308470879528257766bf7c430cd1e22e39745776e5f4b895e7cfed97e5e1