rust-lang/rustfix

Cannot replace slice of data that was already replaced

Closed this issue · 1 comments

Run on AdamNiederer/faster@0d018dd; producing AdamNiederer/faster@872b5dc

$ cargo +nightly fix --prepare-for 2018 
    Checking faster v0.4.3
warning: error applying suggestions to `src/intrin/macros.rs`
The full error message was:

> Cannot replace slice of data that was already replaced

This likely indicates a bug in either rustc or rustfix itself,
and we would appreciate a bug report! You're likely to see 
a number of compiler warnings after this message which rustfix
attempted to fix but failed. If you could open an issue at
https://github.com/rust-lang-nursery/rustfix/issues
quoting the full output of this command we'd be very appreciative!

warning: error applying suggestions to `src/intrin/eq.rs`
The full error message was:

> Cannot replace slice of data that was already replaced

This likely indicates a bug in either rustc or rustfix itself,
and we would appreciate a bug report! You're likely to see 
a number of compiler warnings after this message which rustfix
attempted to fix but failed. If you could open an issue at
https://github.com/rust-lang-nursery/rustfix/issues
quoting the full output of this command we'd be very appreciative!

      Fixing src/intrin/popcnt.rs (3 fixes)
      Fixing src/intrin/abs.rs (2 fixes)
      Fixing src/intrin/sum.rs (6 fixes)
      Fixing src/intrin/hadd.rs (3 fixes)
      Fixing src/intrin/transmute.rs (2 fixes)
      Fixing src/intrin/macros.rs (11 fixes)
      Fixing src/intrin/endian.rs (3 fixes)
      Fixing src/iters.rs (2 fixes)
      Fixing src/intrin/merge.rs (6 fixes)
      Fixing src/intrin/recip.rs (1 fix)
      Fixing src/intrin/hsub.rs (3 fixes)
      Fixing src/lib.rs (1 fix)
      Fixing src/intrin/sqrt.rs (1 fix)
      Fixing src/intrin/swizzle.rs (3 fixes)
      Fixing src/intrin/saturating_hadd.rs (2 fixes)
      Fixing src/intrin/round.rs (1 fix)
      Fixing src/stride.rs (5 fixes)
      Fixing src/zip.rs (2 fixes)
      Fixing src/intrin/saturating_sub.rs (1 fix)
      Fixing src/intrin/upcast.rs (3 fixes)
      Fixing src/stride_zip.rs (4 fixes)
      Fixing src/intrin/rsqrt.rs (1 fix)
      Fixing src/vec_patterns.rs (2 fixes)
      Fixing src/into_iters.rs (2 fixes)
      Fixing src/intrin/cast.rs (1 fix)
      Fixing src/prelude.rs (8 fixes)
      Fixing src/intrin/saturating_hsub.rs (2 fixes)
      Fixing src/intrin/saturating_add.rs (1 fix)
      Fixing src/vecs.rs (3 fixes)
      Fixing src/intrin/downcast.rs (3 fixes)
      Fixing src/intrin/eq.rs (22 fixes)
      Fixing src/intrin/addsub.rs (1 fix)
      Fixing src/intrin/destride.rs (3 fixes)
      Fixing src/shimvecs.rs (4 fixes)
      Fixing src/intrin/cmp.rs (1 fix)
warning: unused import: `stdsimd::vendor::*`
  --> src/vec_patterns.rs:12:5
   |
12 | use stdsimd::vendor::*;
   |     ^^^^^^^^^^^^^^^^^^
   |
   = note: #[warn(unused_imports)] on by default

warning: unused import: `super::super::*`
   --> src/iters.rs:721:9
    |
721 |     use super::super::*;
    |         ^^^^^^^^^^^^^^^

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/cmp.rs:41:1
   |
41 | / rust_fallback_impl_binary! {
42 | |     impl Cmp for u8x16 where "sse2" {
43 | |         min => _mm_min_epu8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
44 | |         max => _mm_max_epu8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
45 | |     }
46 | | }
   | |_- in this macro invocation
   |
   = note: `-W absolute-paths-not-starting-with-crate` implied by `-W rust-2018-compatibility`
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/cmp.rs:41:1
   |
41 | / rust_fallback_impl_binary! {
42 | |     impl Cmp for u8x16 where "sse2" {
43 | |         min => _mm_min_epu8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
44 | |         max => _mm_max_epu8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
45 | |     }
46 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/cmp.rs:83:1
   |
83 | / rust_fallback_impl_binary! {
84 | |     impl Cmp for f32x4 where "sse" {
85 | |         min => _mm_min_ps(), [0, 1, 2, 3];
86 | |         max => _mm_max_ps(), [0, 1, 2, 3];
87 | |     }
88 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/cmp.rs:90:1
   |
90 | / rust_fallback_impl_binary! {
91 | |     impl Cmp for f64x2 where "sse2" {
92 | |         min => _mm_min_pd(), [0, 1];
93 | |         max => _mm_max_pd(), [0, 1];
94 | |     }
95 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
 --> src/intrin/eq.rs:9:5
  |
9 | use core_or_std::ops::BitXor;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::ops::BitXor`
  |
  = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
  = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/eq.rs:10:5
   |
10 | use vecs::*;
   |     ^^^^^^^ help: use `crate`: `crate::vecs::*`
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/eq.rs:58:25
   |
58 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
79 | / rust_fallback_eq! {
80 | |     impl Eq for u8x16 where "sse2" {
81 | |         eq_mask, eq => u8x16, u8, _mm_cmpeq_epi8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
82 | |     }
83 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/eq.rs:65:25
   |
65 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
85 | / rust_fallback_eq! {
86 | |     impl Eq for i8x16 where "sse4.1" {
87 | |         eq_mask, eq => u8x16, u8, _mm_cmpeq_epi8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
88 | |     }
89 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/eq.rs:65:25
   |
65 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
91 | / rust_fallback_eq! {
92 | |     impl Eq for u16x8 where "sse4.1" {
93 | |         eq_mask, eq => u16x8, u16, _mm_cmpeq_epi16(), [0, 1, 2, 3, 4, 5, 6, 7];
94 | |     }
95 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
97  | / rust_fallback_eq! {
98  | |     impl Eq for i16x8 where "sse4.1" {
99  | |         eq_mask, eq => u16x8, u16, _mm_cmpeq_epi16(), [0, 1, 2, 3, 4, 5, 6, 7];
100 | |     }
101 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
103 | / rust_fallback_eq! {
104 | |     impl Eq for u32x4 where "sse4.1" {
105 | |         eq_mask, eq => u32x4, u32, _mm_cmpeq_epi32(), [0, 1, 2, 3];
106 | |     }
107 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
109 | / rust_fallback_eq! {
110 | |     impl Eq for i32x4 where "sse4.1" {
111 | |         eq_mask, eq => u32x4, u32, _mm_cmpeq_epi32(), [0, 1, 2, 3];
112 | |     }
113 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:58:25
    |
58  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
115 | / rust_fallback_eq! {
116 | |     impl Eq for f32x4 where "sse" {
117 | |         eq_mask, eq => u32x4, u32, _mm_cmpeq_ps(), [0, 1, 2, 3];
118 | |     }
119 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:58:25
    |
58  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
121 | / rust_fallback_eq! {
122 | |     impl Eq for f64x2 where "sse2" {
123 | |         eq_mask, eq => u64x2, u64, _mm_cmpeq_pd(), [0, 1];
124 | |     }
125 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
127 | / rust_fallback_eq! {
128 | |     impl Eq for u64x2 where "sse4.1" {
129 | |         eq_mask, eq => u64x2, u64, _mm_cmpeq_epi64(), [0, 1];
130 | |     }
131 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
133 | / rust_fallback_eq! {
134 | |     impl Eq for i64x2 where "sse4.1" {
135 | |         eq_mask, eq => u64x2, u64, _mm_cmpeq_epi64(), [0, 1];
136 | |     }
137 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
139 | / rust_fallback_eq! {
140 | |     impl Eq for u8x32 where "avx2" {
141 | |         eq_mask, eq => u8x32, u8, _mm256_cmpeq_epi8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
142 | |                                                17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31];
143 | |     }
144 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
146 | / rust_fallback_eq! {
147 | |     impl Eq for i8x32 where "avx2" {
148 | |         eq_mask, eq => u8x32, u8, _mm256_cmpeq_epi8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
149 | |                                                17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31];
150 | |     }
151 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
153 | / rust_fallback_eq! {
154 | |     impl Eq for u16x16 where "avx2" {
155 | |         eq_mask, eq => u16x16, u16, _mm256_cmpeq_epi16(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
156 | |     }
157 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
160 | / rust_fallback_eq! {
161 | |     impl Eq for i16x16 where "avx2" {
162 | |         eq_mask, eq => u16x16, u16, _mm256_cmpeq_epi16(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
163 | |     }
164 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
166 | / rust_fallback_eq! {
167 | |     impl Eq for u32x8 where "avx" {
168 | |         eq_mask, eq => u32x8, u32, _mm256_cmpeq_epi32(), [0, 1, 2, 3, 4, 5, 6, 7];
169 | |     }
170 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
172 | / rust_fallback_eq! {
173 | |     impl Eq for i32x8 where "avx" {
174 | |         eq_mask, eq => u32x8, u32, _mm256_cmpeq_epi32(), [0, 1, 2, 3, 4, 5, 6, 7];
175 | |     }
176 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
178 | / rust_fallback_eq! {
179 | |     impl Eq for f32x8 where "avx" {
180 | |         eq_mask, eq => u32x8, u32, _mm256_cmp_ps(0x00), [0, 1, 2, 3, 4, 5, 6, 7];
181 | |     }
182 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
184 | / rust_fallback_eq! {
185 | |     impl Eq for f64x4 where "avx" {
186 | |         eq_mask, eq => u64x4, u64, _mm256_cmp_pd(0x00), [0, 1, 2, 3];
187 | |     }
188 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
190 | / rust_fallback_eq! {
191 | |     impl Eq for u64x4 where "avx2" {
192 | |         eq_mask, eq => u64x4, u64, _mm256_cmpeq_epi64(), [0, 1, 2, 3];
193 | |     }
194 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
   --> src/intrin/eq.rs:65:25
    |
65  |                       use core_or_std::mem::transmute;
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
...
196 | / rust_fallback_eq! {
197 | |     impl Eq for i64x4 where "avx2" {
198 | |         eq_mask, eq => u64x4, u64, _mm256_cmpeq_epi64(), [0, 1, 2, 3];
199 | |     }
200 | | }
    | |_- in this macro invocation
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
    = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_add.rs:15:1
   |
15 | / rust_fallback_impl_binary! {
16 | |     impl SaturatingAdd for u8x16 where "sse2" {
17 | |         saturating_add => _mm_adds_epu8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_add.rs:21:1
   |
21 | / rust_fallback_impl_binary! {
22 | |     impl SaturatingAdd for i8x16 where "sse2" {
23 | |         saturating_add => _mm_adds_epi8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
24 | |     }
25 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_add.rs:27:1
   |
27 | / rust_fallback_impl_binary! {
28 | |     impl SaturatingAdd for u16x8 where "sse2" {
29 | |         saturating_add => _mm_adds_epu16(), [0, 1, 2, 3, 4, 5, 6, 7];
30 | |     }
31 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_add.rs:33:1
   |
33 | / rust_fallback_impl_binary! {
34 | |     impl SaturatingAdd for i16x8 where "sse2" {
35 | |         saturating_add => _mm_adds_epi16(), [0, 1, 2, 3, 4, 5, 6, 7];
36 | |     }
37 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_sub.rs:15:1
   |
15 | / rust_fallback_impl_binary! {
16 | |     impl SaturatingSub for u8x16 where "sse2" {
17 | |         saturating_sub => _mm_subs_epu8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
18 | |     }
19 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_sub.rs:21:1
   |
21 | / rust_fallback_impl_binary! {
22 | |     impl SaturatingSub for i8x16 where "sse2" {
23 | |         saturating_sub => _mm_subs_epi8(), [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15];
24 | |     }
25 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_sub.rs:27:1
   |
27 | / rust_fallback_impl_binary! {
28 | |     impl SaturatingSub for u16x8 where "sse2" {
29 | |         saturating_sub => _mm_subs_epu16(), [0, 1, 2, 3, 4, 5, 6, 7];
30 | |     }
31 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition
  --> src/intrin/macros.rs:37:25
   |
37 |                       use core_or_std::mem::transmute;
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::core_or_std::mem::transmute`
   | 
  ::: src/intrin/saturating_sub.rs:33:1
   |
33 | / rust_fallback_impl_binary! {
34 | |     impl SaturatingSub for i16x8 where "sse2" {
35 | |         saturating_sub => _mm_subs_epi16(), [0, 1, 2, 3, 4, 5, 6, 7];
36 | |     }
37 | | }
   | |_- in this macro invocation
   |
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue TBD

warning: unused import: `SIMDArray`
 --> src/stride_zip.rs:1:60
  |
1 | use crate::iters::{SIMDIterator, SIMDIterable, SIMDObject, SIMDArray};
  |                                                            ^^^^^^^^^

warning: unused import: `SIMDIterable`
 --> src/stride_zip.rs:1:34
  |
1 | use crate::iters::{SIMDIterator, SIMDIterable, SIMDObject, SIMDArray};
  |                                  ^^^^^^^^^^^^

warning: unused import: `SIMDObject`
 --> src/stride_zip.rs:1:48
  |
1 | use crate::iters::{SIMDIterator, SIMDIterable, SIMDObject, SIMDArray};
  |                                                ^^^^^^^^^^

warning: variable does not need to be mutable
   --> src/zip.rs:197:24
    |
197 |         while let Some(mut v) = self.next() {
    |                        ----^
    |                        |
    |                        help: remove this `mut`
    |
    = note: #[warn(unused_mut)] on by default

    Finished dev [unoptimized + debuginfo] target(s) in 6.09s

Thanks for the report!

After adding a bit more logging, I got this:

...
DEBUG 2018-05-30T08:00:35Z: cargo_fix: applying 12 fixes to src/intrin/macros.rs
DEBUG 2018-05-30T08:00:35Z: rustfix::replace: trying to replace range 1380...1406 with `crate::core_or_std::mem::transmute`
DEBUG 2018-05-30T08:00:35Z: rustfix::replace: trying to replace range 1380...1406 with `crate::core_or_std::mem::transmute`
warning: error applying suggestions to `src/intrin/macros.rs`
...

It looks like we got the same suggestion twice. Which makes sense -- the original code is in a macro. (In general, rustfix doesn't try to fix macros.)

It looks to me like in addition to the changes @alexcrichton introduced in rust-lang/rust#50665, we'll also need to add a macro check here and here. This is an issue in rustc -- so I'll close this one and open a new one in rust-lang/rust.