[INFO] crate ffi_helpers 0.1.0 is already in cache [INFO] extracting crate ffi_helpers 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/ffi_helpers/0.1.0 [INFO] extracting crate ffi_helpers 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ffi_helpers/0.1.0 [INFO] validating manifest of ffi_helpers-0.1.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 ffi_helpers-0.1.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 ffi_helpers-0.1.0 [INFO] finished frobbing ffi_helpers-0.1.0 [INFO] frobbed toml for ffi_helpers-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/ffi_helpers/0.1.0/Cargo.toml [INFO] started frobbing ffi_helpers-0.1.0 [INFO] finished frobbing ffi_helpers-0.1.0 [INFO] frobbed toml for ffi_helpers-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/ffi_helpers/0.1.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 ffi_helpers-0.1.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/ffi_helpers/0.1.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] cba0fa535f225fedc39bf7b7e7cb6ad74a51c46df351b48bd4ab21860f0d79fc [INFO] running `"docker" "start" "-a" "cba0fa535f225fedc39bf7b7e7cb6ad74a51c46df351b48bd4ab21860f0d79fc"` [INFO] [stderr] Checking ffi_helpers v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint `private_no_mangle_fns` has been removed: `no longer an warning, #[no_mangle] functions always exported` [INFO] [stderr] --> src/task.rs:440:9 [INFO] [stderr] | [INFO] [stderr] 440 | #[allow(private_no_mangle_fns)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint `private_no_mangle_fns` has been removed: `no longer an warning, #[no_mangle] functions always exported` [INFO] [stderr] --> src/task.rs:440:9 [INFO] [stderr] | [INFO] [stderr] 440 | #[allow(private_no_mangle_fns)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] error: a const item should never be interior mutable [INFO] [stderr] --> src/nullable.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | const NULL: Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::declare_interior_mutable_const)] on by default [INFO] [stderr] help: consider requiring `Self` to be `Copy` [INFO] [stderr] --> src/nullable.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | const NULL: Self; [INFO] [stderr] | ^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/error_handling.rs:171:67 [INFO] [stderr] | [INFO] [stderr] 171 | let maybe_error_message: Option> = error_message().map(|msg| error_msg(msg)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `error_msg` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `ffi_helpers`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: a const item should never be interior mutable [INFO] [stderr] --> src/nullable.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | const NULL: Self; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::declare_interior_mutable_const)] on by default [INFO] [stderr] help: consider requiring `Self` to be `Copy` [INFO] [stderr] --> src/nullable.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | const NULL: Self; [INFO] [stderr] | ^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const [INFO] [stderr] [INFO] [stderr] warning: `0 as *const _` detected. Consider using `ptr::null()` [INFO] [stderr] --> src/nullable.rs:171:20 [INFO] [stderr] | [INFO] [stderr] 171 | let null = 0 as *const u8; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::zero_ptr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_ptr [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/error_handling.rs:171:67 [INFO] [stderr] | [INFO] [stderr] 171 | let maybe_error_message: Option> = error_message().map(|msg| error_msg(msg)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `error_msg` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `ffi_helpers`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cba0fa535f225fedc39bf7b7e7cb6ad74a51c46df351b48bd4ab21860f0d79fc"` [INFO] running `"docker" "rm" "-f" "cba0fa535f225fedc39bf7b7e7cb6ad74a51c46df351b48bd4ab21860f0d79fc"` [INFO] [stdout] cba0fa535f225fedc39bf7b7e7cb6ad74a51c46df351b48bd4ab21860f0d79fc