[INFO] crate anymap 0.12.1 is already in cache [INFO] extracting crate anymap 0.12.1 into work/ex/clippy-test-run/sources/stable/reg/anymap/0.12.1 [INFO] extracting crate anymap 0.12.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/anymap/0.12.1 [INFO] validating manifest of anymap-0.12.1 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 anymap-0.12.1 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 anymap-0.12.1 [INFO] finished frobbing anymap-0.12.1 [INFO] frobbed toml for anymap-0.12.1 written to work/ex/clippy-test-run/sources/stable/reg/anymap/0.12.1/Cargo.toml [INFO] started frobbing anymap-0.12.1 [INFO] finished frobbing anymap-0.12.1 [INFO] frobbed toml for anymap-0.12.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/anymap/0.12.1/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 anymap-0.12.1 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/reg/anymap/0.12.1:/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] 35454baefda8f382486d5fbdb98cd30a9c9237ecceab85c8d2c0a4138f3b8b7b [INFO] running `"docker" "start" "-a" "35454baefda8f382486d5fbdb98cd30a9c9237ecceab85c8d2c0a4138f3b8b7b"` [INFO] [stderr] Checking anymap v0.12.1 (/opt/crater/workdir) [INFO] [stderr] warning: the trait `any::CloneToAny` cannot be made into an object [INFO] [stderr] --> src/any.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | fn clone_to_any_send(&self) -> Box where Self: Send; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(where_clauses_object_safety)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #51443 [INFO] [stderr] = note: method `clone_to_any_send` references the `Self` type in where clauses [INFO] [stderr] [INFO] [stderr] warning: the trait `any::CloneToAny` cannot be made into an object [INFO] [stderr] --> src/any.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | fn clone_to_any_sync(&self) -> Box where Self: Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #51443 [INFO] [stderr] = note: method `clone_to_any_sync` references the `Self` type in where clauses [INFO] [stderr] [INFO] [stderr] warning: the trait `any::CloneToAny` cannot be made into an object [INFO] [stderr] --> src/any.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn clone_to_any_send_sync(&self) -> Box where Self: Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #51443 [INFO] [stderr] = note: method `clone_to_any_send_sync` references the `Self` type in where clauses [INFO] [stderr] [INFO] [stderr] warning: the trait `any::CloneToAny` cannot be made into an object [INFO] [stderr] --> src/any.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | fn clone_to_any_send(&self) -> Box where Self: Send; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(where_clauses_object_safety)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #51443 [INFO] [stderr] = note: method `clone_to_any_send` references the `Self` type in where clauses [INFO] [stderr] [INFO] [stderr] warning: the trait `any::CloneToAny` cannot be made into an object [INFO] [stderr] --> src/any.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | fn clone_to_any_sync(&self) -> Box where Self: Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #51443 [INFO] [stderr] = note: method `clone_to_any_sync` references the `Self` type in where clauses [INFO] [stderr] [INFO] [stderr] warning: the trait `any::CloneToAny` cannot be made into an object [INFO] [stderr] --> src/any.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | fn clone_to_any_send_sync(&self) -> Box where Self: Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #51443 [INFO] [stderr] = note: method `clone_to_any_send_sync` references the `Self` type in where clauses [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const u64`) [INFO] [stderr] --> src/raw.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | ptr::copy_nonoverlapping(&bytes[0] as *const u8 as *const u64, &mut self.value, 1) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::cast_ptr_alignment)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `Map` [INFO] [stderr] --> src/lib.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | / pub fn new() -> $t { [INFO] [stderr] 25 | | $t { [INFO] [stderr] 26 | | $field: $new, [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 141 | / impl_common_methods! { [INFO] [stderr] 142 | | field: Map.raw; [INFO] [stderr] 143 | | new() => RawMap::new(); [INFO] [stderr] 144 | | with_capacity(capacity) => RawMap::with_capacity(capacity); [INFO] [stderr] 145 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `anymap`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const u64`) [INFO] [stderr] --> src/raw.rs:28:38 [INFO] [stderr] | [INFO] [stderr] 28 | ptr::copy_nonoverlapping(&bytes[0] as *const u8 as *const u64, &mut self.value, 1) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::cast_ptr_alignment)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `Map` [INFO] [stderr] --> src/lib.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | / pub fn new() -> $t { [INFO] [stderr] 25 | | $t { [INFO] [stderr] 26 | | $field: $new, [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_____________^ [INFO] [stderr] ... [INFO] [stderr] 141 | / impl_common_methods! { [INFO] [stderr] 142 | | field: Map.raw; [INFO] [stderr] 143 | | new() => RawMap::new(); [INFO] [stderr] 144 | | with_capacity(capacity) => RawMap::with_capacity(capacity); [INFO] [stderr] 145 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 120 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `anymap`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "35454baefda8f382486d5fbdb98cd30a9c9237ecceab85c8d2c0a4138f3b8b7b"` [INFO] running `"docker" "rm" "-f" "35454baefda8f382486d5fbdb98cd30a9c9237ecceab85c8d2c0a4138f3b8b7b"` [INFO] [stdout] 35454baefda8f382486d5fbdb98cd30a9c9237ecceab85c8d2c0a4138f3b8b7b