[INFO] fetching crate staticvec 0.10.8... [INFO] checking staticvec-0.10.8 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate staticvec 0.10.8 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate staticvec 0.10.8 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate staticvec 0.10.8 [INFO] removed 3 missing examples [INFO] removed 3 missing tests [INFO] finished tweaking crates.io crate staticvec 0.10.8 [INFO] tweaked toml for crates.io crate staticvec 0.10.8 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate staticvec 0.10.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cool_asserts v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fe8d46dc6aad8f4395c80fe8c669be9c4e99c5dc8117066f2157852e85f7fe2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3fe8d46dc6aad8f4395c80fe8c669be9c4e99c5dc8117066f2157852e85f7fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fe8d46dc6aad8f4395c80fe8c669be9c4e99c5dc8117066f2157852e85f7fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe8d46dc6aad8f4395c80fe8c669be9c4e99c5dc8117066f2157852e85f7fe2", kill_on_drop: false }` [INFO] [stdout] 3fe8d46dc6aad8f4395c80fe8c669be9c4e99c5dc8117066f2157852e85f7fe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 757747787f8fabac7ef18e0ce9059b993713b0b25b6302cd9412d5e158648490 [INFO] running `Command { std: "docker" "start" "-a" "757747787f8fabac7ef18e0ce9059b993713b0b25b6302cd9412d5e158648490", kill_on_drop: false }` [INFO] [stderr] Checking cool_asserts v1.1.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking staticvec v0.10.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | const_raw_ptr_to_usize_cast, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / impl<'a, T: 'a, const N: usize> const Iterator for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 105 | | type Item = &'a T; [INFO] [stdout] 106 | | [INFO] [stdout] 107 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `try_for_each`, `cmp`, `step_by`, `skip_while`, `fuse`, `try_fold`, `filter`, `product`, `try_find`, `intersperse`, `skip`, `max_by`, `rposition`, `cmp_by`, `advance_by`, `zip`, `peekable`, `flatten`, `is_partitioned`, `find_map`, `max_by_key`, `sum`, `partial_cmp`, `is_sorted_by`, `map`, `min`, `enumerate`, `flat_map`, `cloned`, `position`, `all`, `le`, `is_sorted_by_key`, `copied`, `filter_map`, `max`, `partition_in_place`, `find`, `cycle`, `lt`, `ge`, `for_each`, `min_by_key`, `map_while`, `gt`, `is_sorted`, `chain`, `scan`, `partition`, `reduce`, `unzip`, `eq_by`, `intersperse_with`, `take_while`, `inspect`, `min_by`, `eq`, `collect`, `fold`, `rev`, `partial_cmp_by`, `by_ref`, `ne`, `take`, `any` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | / impl<'a, T: 'a, const N: usize> const DoubleEndedIterator for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 181 | | #[inline(always)] [INFO] [stdout] 182 | | fn next_back(&mut self) -> Option<&'a T> { [INFO] [stdout] 183 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 217 | | } [INFO] [stdout] 218 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `advance_back_by`, `try_rfold`, `rfold`, `rfind` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | / unsafe impl<'a, T: 'a, const N: usize> const TrustedRandomAccess for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 238 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 239 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / impl<'a, T: 'a, const N: usize> const Clone for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 244 | | #[inline(always)] [INFO] [stdout] 245 | | fn clone(&self) -> Self { [INFO] [stdout] 246 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 251 | | } [INFO] [stdout] 252 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `clone_from` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / impl<'a, T: 'a, const N: usize> const Iterator for StaticVecIterMut<'a, T, N> { [INFO] [stdout] 297 | | type Item = &'a mut T; [INFO] [stdout] 298 | | [INFO] [stdout] 299 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 369 | | } [INFO] [stdout] 370 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `try_for_each`, `cmp`, `step_by`, `skip_while`, `fuse`, `try_fold`, `filter`, `product`, `try_find`, `intersperse`, `skip`, `max_by`, `rposition`, `cmp_by`, `advance_by`, `zip`, `peekable`, `flatten`, `is_partitioned`, `find_map`, `max_by_key`, `sum`, `partial_cmp`, `is_sorted_by`, `map`, `min`, `enumerate`, `flat_map`, `cloned`, `position`, `all`, `le`, `is_sorted_by_key`, `copied`, `filter_map`, `max`, `partition_in_place`, `find`, `cycle`, `lt`, `ge`, `for_each`, `min_by_key`, `map_while`, `gt`, `is_sorted`, `chain`, `scan`, `partition`, `reduce`, `unzip`, `eq_by`, `intersperse_with`, `take_while`, `inspect`, `min_by`, `eq`, `collect`, `fold`, `rev`, `partial_cmp_by`, `by_ref`, `ne`, `take`, `any` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | / impl<'a, T: 'a, const N: usize> const DoubleEndedIterator for StaticVecIterMut<'a, T, N> { [INFO] [stdout] 373 | | #[inline(always)] [INFO] [stdout] 374 | | fn next_back(&mut self) -> Option<&'a mut T> { [INFO] [stdout] 375 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 409 | | } [INFO] [stdout] 410 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `advance_back_by`, `try_rfold`, `rfold`, `rfind` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:429:1 [INFO] [stdout] | [INFO] [stdout] 429 | / unsafe impl<'a, T: 'a, const N: usize> const TrustedRandomAccess for StaticVecIterMut<'a, T, N> { [INFO] [stdout] 430 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 431 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:629:1 [INFO] [stdout] | [INFO] [stdout] 629 | / unsafe impl const TrustedRandomAccess for StaticVecIntoIter { [INFO] [stdout] 630 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 631 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / unsafe impl<'a, T: Copy + 'a, const N: usize> const TrustedRandomAccess [INFO] [stdout] 757 | | for StaticVecDrain<'a, T, N> [INFO] [stdout] 758 | | { [INFO] [stdout] 759 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 760 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | const_raw_ptr_to_usize_cast, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: at compile-time, pointers do not have an integer value, so these casts cannot be properly supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / impl<'a, T: 'a, const N: usize> const Iterator for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 105 | | type Item = &'a T; [INFO] [stdout] 106 | | [INFO] [stdout] 107 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `cmp`, `enumerate`, `flat_map`, `partition_in_place`, `find`, `filter`, `max_by`, `intersperse`, `skip`, `min_by_key`, `find_map`, `sum`, `copied`, `is_sorted_by`, `filter_map`, `scan`, `partition`, `reduce`, `max`, `unzip`, `eq_by`, `partial_cmp`, `cycle`, `map`, `for_each`, `map_while`, `collect`, `min`, `all`, `position`, `cloned`, `by_ref`, `le`, `is_sorted`, `min_by`, `fold`, `rev`, `partial_cmp_by`, `lt`, `step_by`, `skip_while`, `gt`, `ge`, `intersperse_with`, `chain`, `take_while`, `take`, `inspect`, `try_for_each`, `rposition`, `advance_by`, `peekable`, `flatten`, `zip`, `is_partitioned`, `max_by_key`, `cmp_by`, `eq`, `fuse`, `try_fold`, `try_find`, `product`, `is_sorted_by_key`, `ne`, `any` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | / impl<'a, T: 'a, const N: usize> const DoubleEndedIterator for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 181 | | #[inline(always)] [INFO] [stdout] 182 | | fn next_back(&mut self) -> Option<&'a T> { [INFO] [stdout] 183 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 217 | | } [INFO] [stdout] 218 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `rfold`, `advance_back_by`, `try_rfold`, `rfind` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:237:1 [INFO] [stdout] | [INFO] [stdout] 237 | / unsafe impl<'a, T: 'a, const N: usize> const TrustedRandomAccess for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 238 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 239 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 243 | / impl<'a, T: 'a, const N: usize> const Clone for StaticVecIterConst<'a, T, N> { [INFO] [stdout] 244 | | #[inline(always)] [INFO] [stdout] 245 | | fn clone(&self) -> Self { [INFO] [stdout] 246 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 251 | | } [INFO] [stdout] 252 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `clone_from` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / impl<'a, T: 'a, const N: usize> const Iterator for StaticVecIterMut<'a, T, N> { [INFO] [stdout] 297 | | type Item = &'a mut T; [INFO] [stdout] 298 | | [INFO] [stdout] 299 | | #[inline(always)] [INFO] [stdout] ... | [INFO] [stdout] 369 | | } [INFO] [stdout] 370 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `cmp`, `enumerate`, `flat_map`, `partition_in_place`, `find`, `filter`, `max_by`, `intersperse`, `skip`, `min_by_key`, `find_map`, `sum`, `copied`, `is_sorted_by`, `filter_map`, `scan`, `partition`, `reduce`, `max`, `unzip`, `eq_by`, `partial_cmp`, `cycle`, `map`, `for_each`, `map_while`, `collect`, `min`, `all`, `position`, `cloned`, `by_ref`, `le`, `is_sorted`, `min_by`, `fold`, `rev`, `partial_cmp_by`, `lt`, `step_by`, `skip_while`, `gt`, `ge`, `intersperse_with`, `chain`, `take_while`, `take`, `inspect`, `try_for_each`, `rposition`, `advance_by`, `peekable`, `flatten`, `zip`, `is_partitioned`, `max_by_key`, `cmp_by`, `eq`, `fuse`, `try_fold`, `try_find`, `product`, `is_sorted_by_key`, `ne`, `any` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | / impl<'a, T: 'a, const N: usize> const DoubleEndedIterator for StaticVecIterMut<'a, T, N> { [INFO] [stdout] 373 | | #[inline(always)] [INFO] [stdout] 374 | | fn next_back(&mut self) -> Option<&'a mut T> { [INFO] [stdout] 375 | | unsafe { [INFO] [stdout] ... | [INFO] [stdout] 409 | | } [INFO] [stdout] 410 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `rfold`, `advance_back_by`, `try_rfold`, `rfind` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:429:1 [INFO] [stdout] | [INFO] [stdout] 429 | / unsafe impl<'a, T: 'a, const N: usize> const TrustedRandomAccess for StaticVecIterMut<'a, T, N> { [INFO] [stdout] 430 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 431 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:629:1 [INFO] [stdout] | [INFO] [stdout] 629 | / unsafe impl const TrustedRandomAccess for StaticVecIntoIter { [INFO] [stdout] 630 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 631 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const trait implementations may not use non-const default functions [INFO] [stdout] --> src/iterators.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | / unsafe impl<'a, T: Copy + 'a, const N: usize> const TrustedRandomAccess [INFO] [stdout] 757 | | for StaticVecDrain<'a, T, N> [INFO] [stdout] 758 | | { [INFO] [stdout] 759 | | const MAY_HAVE_SIDE_EFFECT: bool = false; [INFO] [stdout] 760 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `size` not implemented [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `staticvec` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "757747787f8fabac7ef18e0ce9059b993713b0b25b6302cd9412d5e158648490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "757747787f8fabac7ef18e0ce9059b993713b0b25b6302cd9412d5e158648490", kill_on_drop: false }` [INFO] [stdout] 757747787f8fabac7ef18e0ce9059b993713b0b25b6302cd9412d5e158648490