[INFO] crate moniker 0.5.0 is already in cache [INFO] extracting crate moniker 0.5.0 into work/ex/clippy-test-run/sources/stable/reg/moniker/0.5.0 [INFO] extracting crate moniker 0.5.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/moniker/0.5.0 [INFO] validating manifest of moniker-0.5.0 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 moniker-0.5.0 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 moniker-0.5.0 [INFO] removed 7 missing examples [INFO] finished frobbing moniker-0.5.0 [INFO] frobbed toml for moniker-0.5.0 written to work/ex/clippy-test-run/sources/stable/reg/moniker/0.5.0/Cargo.toml [INFO] started frobbing moniker-0.5.0 [INFO] removed 7 missing examples [INFO] finished frobbing moniker-0.5.0 [INFO] frobbed toml for moniker-0.5.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/moniker/0.5.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 moniker-0.5.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/moniker/0.5.0:/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] 78346c88e7af14f757d5cdbc3e4db20d2b767dd56e75e641f2fc4b66e564c747 [INFO] running `"docker" "start" "-a" "78346c88e7af14f757d5cdbc3e4db20d2b767dd56e75e641f2fc4b66e564c747"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/stlc_data_isorec.rs [INFO] [stderr] * /opt/crater/workdir/examples/lc_multi.rs [INFO] [stderr] * /opt/crater/workdir/examples/lc_letrec.rs [INFO] [stderr] * /opt/crater/workdir/examples/stlc_data.rs [INFO] [stderr] * /opt/crater/workdir/examples/lc.rs [INFO] [stderr] * /opt/crater/workdir/examples/lc_let.rs [INFO] [stderr] * /opt/crater/workdir/examples/stlc.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling moniker-derive v0.5.0 [INFO] [stderr] Checking moniker v0.5.0 (/opt/crater/workdir) [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `bound::ScopeState` [INFO] [stderr] --> src/bound/mod.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / pub fn new() -> ScopeState { [INFO] [stderr] 25 | | ScopeState { depth: 0 } [INFO] [stderr] 26 | | } [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] 19 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/bound/mod.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn depth(&self) -> ScopeOffset { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `unique_id::UniqueId` [INFO] [stderr] --> src/unique_id.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | / pub fn new() -> UniqueId { [INFO] [stderr] 10 | | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stderr] 11 | | [INFO] [stderr] 12 | | lazy_static! { [INFO] [stderr] ... | [INFO] [stderr] 17 | | UniqueId(NEXT_ID.fetch_add(1, Ordering::SeqCst) as u32) [INFO] [stderr] 18 | | } [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] 5 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `bound::ScopeState` [INFO] [stderr] --> src/bound/mod.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / pub fn new() -> ScopeState { [INFO] [stderr] 25 | | ScopeState { depth: 0 } [INFO] [stderr] 26 | | } [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] 19 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/bound/mod.rs:28:18 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn depth(&self) -> ScopeOffset { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `unique_id::UniqueId` [INFO] [stderr] --> src/unique_id.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | / pub fn new() -> UniqueId { [INFO] [stderr] 10 | | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stderr] 11 | | [INFO] [stderr] 12 | | lazy_static! { [INFO] [stderr] ... | [INFO] [stderr] 17 | | UniqueId(NEXT_ID.fetch_add(1, Ordering::SeqCst) as u32) [INFO] [stderr] 18 | | } [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] 5 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.91s [INFO] running `"docker" "inspect" "78346c88e7af14f757d5cdbc3e4db20d2b767dd56e75e641f2fc4b66e564c747"` [INFO] running `"docker" "rm" "-f" "78346c88e7af14f757d5cdbc3e4db20d2b767dd56e75e641f2fc4b66e564c747"` [INFO] [stdout] 78346c88e7af14f757d5cdbc3e4db20d2b767dd56e75e641f2fc4b66e564c747