[INFO] updating cached repository dave-leeper/rust_lib_for_node [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/dave-leeper/rust_lib_for_node [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/dave-leeper/rust_lib_for_node" "work/ex/clippy-test-run/sources/stable/gh/dave-leeper/rust_lib_for_node"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/dave-leeper/rust_lib_for_node'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/dave-leeper/rust_lib_for_node" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dave-leeper/rust_lib_for_node"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dave-leeper/rust_lib_for_node'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 029cf098f61b0596a834edc10b131429399f4006 [INFO] sha for GitHub repo dave-leeper/rust_lib_for_node: 029cf098f61b0596a834edc10b131429399f4006 [INFO] validating manifest of dave-leeper/rust_lib_for_node 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 dave-leeper/rust_lib_for_node 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 dave-leeper/rust_lib_for_node [INFO] finished frobbing dave-leeper/rust_lib_for_node [INFO] frobbed toml for dave-leeper/rust_lib_for_node written to work/ex/clippy-test-run/sources/stable/gh/dave-leeper/rust_lib_for_node/Cargo.toml [INFO] started frobbing dave-leeper/rust_lib_for_node [INFO] finished frobbing dave-leeper/rust_lib_for_node [INFO] frobbed toml for dave-leeper/rust_lib_for_node written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/dave-leeper/rust_lib_for_node/Cargo.toml [INFO] crate dave-leeper/rust_lib_for_node 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 dave-leeper/rust_lib_for_node 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/gh/dave-leeper/rust_lib_for_node:/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] 21d01563eaf100061164d1dcac13609781ef994536caa7b1c6cf2d5ab8619900 [INFO] running `"docker" "start" "-a" "21d01563eaf100061164d1dcac13609781ef994536caa7b1c6cf2d5ab8619900"` [INFO] [stderr] Checking inluded v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/lib.rs:6:53 [INFO] [stderr] | [INFO] [stderr] 6 | let c_value = unsafe { std::ffi::CStr::from_ptr(value) }; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::not_unsafe_ptr_arg_deref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref [INFO] [stderr] [INFO] [stderr] error: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/lib.rs:8:54 [INFO] [stderr] | [INFO] [stderr] 8 | let c_substr = unsafe { std::ffi::CStr::from_ptr(substr) }; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `inluded`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/lib.rs:6:53 [INFO] [stderr] | [INFO] [stderr] 6 | let c_value = unsafe { std::ffi::CStr::from_ptr(value) }; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::not_unsafe_ptr_arg_deref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref [INFO] [stderr] [INFO] [stderr] error: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/lib.rs:8:54 [INFO] [stderr] | [INFO] [stderr] 8 | let c_substr = unsafe { std::ffi::CStr::from_ptr(substr) }; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `inluded`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "21d01563eaf100061164d1dcac13609781ef994536caa7b1c6cf2d5ab8619900"` [INFO] running `"docker" "rm" "-f" "21d01563eaf100061164d1dcac13609781ef994536caa7b1c6cf2d5ab8619900"` [INFO] [stdout] 21d01563eaf100061164d1dcac13609781ef994536caa7b1c6cf2d5ab8619900