[INFO] crate new_type_derive 0.2.2 is already in cache [INFO] extracting crate new_type_derive 0.2.2 into work/ex/clippy-test-run/sources/stable/reg/new_type_derive/0.2.2 [INFO] extracting crate new_type_derive 0.2.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/new_type_derive/0.2.2 [INFO] validating manifest of new_type_derive-0.2.2 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 new_type_derive-0.2.2 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 new_type_derive-0.2.2 [INFO] finished frobbing new_type_derive-0.2.2 [INFO] frobbed toml for new_type_derive-0.2.2 written to work/ex/clippy-test-run/sources/stable/reg/new_type_derive/0.2.2/Cargo.toml [INFO] started frobbing new_type_derive-0.2.2 [INFO] finished frobbing new_type_derive-0.2.2 [INFO] frobbed toml for new_type_derive-0.2.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/new_type_derive/0.2.2/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 new_type_derive-0.2.2 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/new_type_derive/0.2.2:/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] 1c9c5964de3c772e606418715b7a29db91d61814c28b251143f88b4a83f19e86 [INFO] running `"docker" "start" "-a" "1c9c5964de3c772e606418715b7a29db91d61814c28b251143f88b4a83f19e86"` [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking new_type_derive v0.2.2 (/opt/crater/workdir) [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" "1c9c5964de3c772e606418715b7a29db91d61814c28b251143f88b4a83f19e86"` [INFO] running `"docker" "rm" "-f" "1c9c5964de3c772e606418715b7a29db91d61814c28b251143f88b4a83f19e86"` [INFO] [stdout] 1c9c5964de3c772e606418715b7a29db91d61814c28b251143f88b4a83f19e86