[INFO] updating cached repository mozilla/ffi-toolkit [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mozilla/ffi-toolkit [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mozilla/ffi-toolkit" "work/ex/clippy-test-run/sources/stable/gh/mozilla/ffi-toolkit"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/mozilla/ffi-toolkit'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mozilla/ffi-toolkit" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mozilla/ffi-toolkit"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mozilla/ffi-toolkit'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 344e10996e2cca9a6ad443f7b1bcd47688c1e05d [INFO] sha for GitHub repo mozilla/ffi-toolkit: 344e10996e2cca9a6ad443f7b1bcd47688c1e05d [INFO] validating manifest of mozilla/ffi-toolkit 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 mozilla/ffi-toolkit 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 mozilla/ffi-toolkit [INFO] finished frobbing mozilla/ffi-toolkit [INFO] frobbed toml for mozilla/ffi-toolkit written to work/ex/clippy-test-run/sources/stable/gh/mozilla/ffi-toolkit/Cargo.toml [INFO] started frobbing mozilla/ffi-toolkit [INFO] finished frobbing mozilla/ffi-toolkit [INFO] frobbed toml for mozilla/ffi-toolkit written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mozilla/ffi-toolkit/Cargo.toml [INFO] crate mozilla/ffi-toolkit 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 mozilla/ffi-toolkit 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/mozilla/ffi-toolkit:/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] aa7c2526c8d3305d21f41e55688217032aec198e86db42fd7577385309bb415c [INFO] running `"docker" "start" "-a" "aa7c2526c8d3305d21f41e55688217032aec198e86db42fd7577385309bb415c"` [INFO] [stderr] Checking ffi-toolkit v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/memory.rs:19:43 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = unsafe{ Box::from_raw(obj) }; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | define_destructor!(destroy, c_void); [INFO] [stderr] | ------------------------------------ in this macro invocation [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/memory.rs:46:35 [INFO] [stderr] | [INFO] [stderr] 46 | let _ = unsafe{ Box::from_raw(obj) }; [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: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/memory.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | let _ = unsafe { CString::from_raw(s) }; [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: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/memory.rs:19:43 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = unsafe{ Box::from_raw(obj) }; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/result.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | define_destructor!(extern_result_destroy, ExternResult); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [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: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/string.rs:12:41 [INFO] [stderr] | [INFO] [stderr] 12 | let c_str = unsafe { CStr::from_ptr(cchar) }; [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 5 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `ffi-toolkit`. [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/memory.rs:19:43 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = unsafe{ Box::from_raw(obj) }; [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | define_destructor!(destroy, c_void); [INFO] [stderr] | ------------------------------------ in this macro invocation [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/memory.rs:46:35 [INFO] [stderr] | [INFO] [stderr] 46 | let _ = unsafe{ Box::from_raw(obj) }; [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: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/memory.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | let _ = unsafe { CString::from_raw(s) }; [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: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/memory.rs:19:43 [INFO] [stderr] | [INFO] [stderr] 19 | let _ = unsafe{ Box::from_raw(obj) }; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/result.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | define_destructor!(extern_result_destroy, ExternResult); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [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: this public function dereferences a raw pointer but is not marked `unsafe` [INFO] [stderr] --> src/string.rs:12:41 [INFO] [stderr] | [INFO] [stderr] 12 | let c_str = unsafe { CStr::from_ptr(cchar) }; [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 5 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `ffi-toolkit`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "aa7c2526c8d3305d21f41e55688217032aec198e86db42fd7577385309bb415c"` [INFO] running `"docker" "rm" "-f" "aa7c2526c8d3305d21f41e55688217032aec198e86db42fd7577385309bb415c"` [INFO] [stdout] aa7c2526c8d3305d21f41e55688217032aec198e86db42fd7577385309bb415c