1 error: casting i32 to f32 causes a loss of precision (i32 is 32 bits wide, but f32's mantissa is only 23 bits wide)
7 = note: `-D cast-precision-loss` implied by `-D warnings`
9 error: casting i64 to f32 causes a loss of precision (i64 is 64 bits wide, but f32's mantissa is only 23 bits wide)
15 = note: `-D cast-precision-loss` implied by `-D warnings`
17 error: casting i64 to f64 causes a loss of precision (i64 is 64 bits wide, but f64's mantissa is only 52 bits wide)
23 = note: `-D cast-precision-loss` implied by `-D warnings`
25 error: casting u32 to f32 causes a loss of precision (u32 is 32 bits wide, but f32's mantissa is only 23 bits wide)
31 = note: `-D cast-precision-loss` implied by `-D warnings`
33 error: casting u64 to f32 causes a loss of precision (u64 is 64 bits wide, but f32's mantissa is only 23 bits wide)
39 = note: `-D cast-precision-loss` implied by `-D warnings`
41 error: casting u64 to f64 causes a loss of precision (u64 is 64 bits wide, but f64's mantissa is only 52 bits wide)
47 = note: `-D cast-precision-loss` implied by `-D warnings`
49 error: casting f32 to i32 may truncate the value
55 = note: `-D cast-possible-truncation` implied by `-D warnings`
57 error: casting f32 to u32 may truncate the value
63 = note: `-D cast-possible-truncation` implied by `-D warnings`
65 error: casting f32 to u32 may lose the sign of the value
71 = note: `-D cast-sign-loss` implied by `-D warnings`
73 error: casting f64 to f32 may truncate the value
79 = note: `-D cast-possible-truncation` implied by `-D warnings`
81 error: casting i32 to i8 may truncate the value
87 = note: `-D cast-possible-truncation` implied by `-D warnings`
89 error: casting i32 to u8 may lose the sign of the value
95 = note: `-D cast-sign-loss` implied by `-D warnings`
97 error: casting i32 to u8 may truncate the value
103 = note: `-D cast-possible-truncation` implied by `-D warnings`
105 error: casting f64 to isize may truncate the value
111 = note: `-D cast-possible-truncation` implied by `-D warnings`
113 error: casting f64 to usize may truncate the value
119 = note: `-D cast-possible-truncation` implied by `-D warnings`
121 error: casting f64 to usize may lose the sign of the value
127 = note: `-D cast-sign-loss` implied by `-D warnings`
129 error: casting u8 to i8 may wrap around the value
135 = note: `-D cast-possible-wrap` implied by `-D warnings`
137 error: casting u16 to i16 may wrap around the value
143 = note: `-D cast-possible-wrap` implied by `-D warnings`
145 error: casting u32 to i32 may wrap around the value
151 = note: `-D cast-possible-wrap` implied by `-D warnings`
153 error: casting u64 to i64 may wrap around the value
159 = note: `-D cast-possible-wrap` implied by `-D warnings`
161 error: casting usize to isize may wrap around the value
164 29 | 1usize as isize;
167 = note: `-D cast-possible-wrap` implied by `-D warnings`
169 error: casting i32 to u32 may lose the sign of the value
175 = note: `-D cast-sign-loss` implied by `-D warnings`
177 error: casting isize to usize may lose the sign of the value
180 32 | 1isize as usize;
183 = note: `-D cast-sign-loss` implied by `-D warnings`
185 error: casting isize to i8 may truncate the value
191 = note: `-D cast-possible-truncation` implied by `-D warnings`
193 error: casting isize to f64 causes a loss of precision on targets with 64-bit wide pointers (isize is 64 bits wide, but f64's mantissa is only 52 bits wide)
199 = note: `-D cast-precision-loss` implied by `-D warnings`
201 error: casting usize to f64 causes a loss of precision on targets with 64-bit wide pointers (usize is 64 bits wide, but f64's mantissa is only 52 bits wide)
207 = note: `-D cast-precision-loss` implied by `-D warnings`
209 error: casting isize to f32 causes a loss of precision (isize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide)
215 = note: `-D cast-precision-loss` implied by `-D warnings`
217 error: casting usize to f32 causes a loss of precision (usize is 32 or 64 bits wide, but f32's mantissa is only 23 bits wide)
223 = note: `-D cast-precision-loss` implied by `-D warnings`
225 error: casting isize to i32 may truncate the value on targets with 64-bit wide pointers
231 = note: `-D cast-possible-truncation` implied by `-D warnings`
233 error: casting isize to u32 may lose the sign of the value
239 = note: `-D cast-sign-loss` implied by `-D warnings`
241 error: casting isize to u32 may truncate the value on targets with 64-bit wide pointers
247 = note: `-D cast-possible-truncation` implied by `-D warnings`
249 error: casting usize to u32 may truncate the value on targets with 64-bit wide pointers
255 = note: `-D cast-possible-truncation` implied by `-D warnings`
257 error: casting usize to i32 may truncate the value on targets with 64-bit wide pointers
263 = note: `-D cast-possible-truncation` implied by `-D warnings`
265 error: casting usize to i32 may wrap around the value on targets with 32-bit wide pointers
271 = note: `-D cast-possible-wrap` implied by `-D warnings`
273 error: casting i64 to isize may truncate the value on targets with 32-bit wide pointers
279 = note: `-D cast-possible-truncation` implied by `-D warnings`
281 error: casting i64 to usize may lose the sign of the value
287 = note: `-D cast-sign-loss` implied by `-D warnings`
289 error: casting i64 to usize may truncate the value on targets with 32-bit wide pointers
295 = note: `-D cast-possible-truncation` implied by `-D warnings`
297 error: casting u64 to isize may truncate the value on targets with 32-bit wide pointers
303 = note: `-D cast-possible-truncation` implied by `-D warnings`
305 error: casting u64 to isize may wrap around the value on targets with 64-bit wide pointers
311 = note: `-D cast-possible-wrap` implied by `-D warnings`
313 error: casting u64 to usize may truncate the value on targets with 32-bit wide pointers
319 = note: `-D cast-possible-truncation` implied by `-D warnings`
321 error: casting u32 to isize may wrap around the value on targets with 32-bit wide pointers
327 = note: `-D cast-possible-wrap` implied by `-D warnings`
329 error: casting i32 to usize may lose the sign of the value
335 = note: `-D cast-sign-loss` implied by `-D warnings`
337 error: casting to the same type is unnecessary (`i32` -> `i32`)
343 = note: `-D unnecessary-cast` implied by `-D warnings`
345 error: casting to the same type is unnecessary (`f32` -> `f32`)
351 = note: `-D unnecessary-cast` implied by `-D warnings`
353 error: casting to the same type is unnecessary (`bool` -> `bool`)
359 = note: `-D unnecessary-cast` implied by `-D warnings`
361 error: aborting due to previous error(s)
364 To learn more, run the command again with --verbose.