[INFO] updating cached repository neoeinstein/new_type_derive [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/neoeinstein/new_type_derive [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/neoeinstein/new_type_derive" "work/ex/clippy-test-run/sources/stable/gh/neoeinstein/new_type_derive"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/neoeinstein/new_type_derive'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/neoeinstein/new_type_derive" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/neoeinstein/new_type_derive"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/neoeinstein/new_type_derive'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5e5ea2e86cfe77ac3bd0f817522cdc165ca4fed5 [INFO] sha for GitHub repo neoeinstein/new_type_derive: 5e5ea2e86cfe77ac3bd0f817522cdc165ca4fed5 [INFO] validating manifest of neoeinstein/new_type_derive 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 neoeinstein/new_type_derive 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 neoeinstein/new_type_derive [INFO] finished frobbing neoeinstein/new_type_derive [INFO] frobbed toml for neoeinstein/new_type_derive written to work/ex/clippy-test-run/sources/stable/gh/neoeinstein/new_type_derive/Cargo.toml [INFO] started frobbing neoeinstein/new_type_derive [INFO] finished frobbing neoeinstein/new_type_derive [INFO] frobbed toml for neoeinstein/new_type_derive written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/neoeinstein/new_type_derive/Cargo.toml [INFO] crate neoeinstein/new_type_derive 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 neoeinstein/new_type_derive against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/neoeinstein/new_type_derive:/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] 3b6e357bd1d2f5bf0c3150251cdc5adecd0000f8acb7025704d136cdecb3409b [INFO] running `"docker" "start" "-a" "3b6e357bd1d2f5bf0c3150251cdc5adecd0000f8acb7025704d136cdecb3409b"` [INFO] [stderr] Checking new_type_derive v0.2.2 (/opt/crater/workdir) [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking tempfile v3.0.3 [INFO] [stderr] Checking rusty-fork v0.2.0 [INFO] [stderr] Checking proptest v0.8.4 [INFO] [stderr] warning: item `ShortIdRef` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> examples/identifier.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | / impl ShortIdRef { [INFO] [stderr] 47 | | pub fn len(&self) -> usize { [INFO] [stderr] 48 | | self.inner.len() [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> examples/identifier.rs:66:29 [INFO] [stderr] | [INFO] [stderr] 66 | let mut args_iter = env::args().into_iter(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `env::args()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `ALT_STRING` [INFO] [stderr] --> src/new_type_pair.rs:515:5 [INFO] [stderr] | [INFO] [stderr] 515 | const ALT_STRING: &str = "Ĉu ĝustas?"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/new_type_pair.rs:724:9 [INFO] [stderr] | [INFO] [stderr] 724 | assert_eq_size_ptr!(&TEST_STR, &StrWrapRef::try_as_ref(TEST_STR).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ptr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: calls to `std::mem::forget` with a reference instead of an owned value. Forgetting a reference does nothing. [INFO] [stderr] --> src/new_type_pair.rs:724:9 [INFO] [stderr] | [INFO] [stderr] 724 | assert_eq_size_ptr!(&TEST_STR, &StrWrapRef::try_as_ref(TEST_STR).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::forget_ref)] on by default [INFO] [stderr] note: argument has type &str [INFO] [stderr] --> src/new_type_pair.rs:724:9 [INFO] [stderr] | [INFO] [stderr] 724 | assert_eq_size_ptr!(&TEST_STR, &StrWrapRef::try_as_ref(TEST_STR).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#forget_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/new_type_pair.rs:725:9 [INFO] [stderr] | [INFO] [stderr] 725 | assert_eq_size_ptr!(&TEST_STR, &ArrStrWrapRef::try_as_ref(TEST_STR).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: calls to `std::mem::forget` with a reference instead of an owned value. Forgetting a reference does nothing. [INFO] [stderr] --> src/new_type_pair.rs:725:9 [INFO] [stderr] | [INFO] [stderr] 725 | assert_eq_size_ptr!(&TEST_STR, &ArrStrWrapRef::try_as_ref(TEST_STR).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: argument has type &str [INFO] [stderr] --> src/new_type_pair.rs:725:9 [INFO] [stderr] | [INFO] [stderr] 725 | assert_eq_size_ptr!(&TEST_STR, &ArrStrWrapRef::try_as_ref(TEST_STR).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#forget_ref [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `new_type_derive`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3b6e357bd1d2f5bf0c3150251cdc5adecd0000f8acb7025704d136cdecb3409b"` [INFO] running `"docker" "rm" "-f" "3b6e357bd1d2f5bf0c3150251cdc5adecd0000f8acb7025704d136cdecb3409b"` [INFO] [stdout] 3b6e357bd1d2f5bf0c3150251cdc5adecd0000f8acb7025704d136cdecb3409b