Debian Codegraph @

debian/rust-vendor/zerocopy-derive/tests/ui/late_compile_pass.nightly.stderr

raw
1 warning: unused import: `zerocopy_renamed::KnownLayout`
2 --> $DIR/late_compile_pass.rs:15:5
3 |
4 15 | use zerocopy_renamed::KnownLayout;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
8
9 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::TryFromBytes` is not satisfied
10 --> $DIR/late_compile_pass.rs:29:10
11 |
12 29 | #[derive(TryFromBytes)]
13 | ^^^^^^^^^^^^ unsatisfied trait bound
14 |
15 help: the trait `zerocopy_renamed::TryFromBytes` is not implemented for `NotZerocopy`
16 --> $DIR/../include.rs:48:5
17 |
18 48 | pub struct NotZerocopy<T = ()>(pub T);
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
21 = help: the following other types implement trait `zerocopy_renamed::TryFromBytes`:
22 ()
23 (A, B)
24 (A, B, C)
25 (A, B, C, D)
26 (A, B, C, D, E)
27 (A, B, C, D, E, F)
28 (A, B, C, D, E, F, G)
29 (A, B, C, D, E, F, G, H)
30 and 156 others
31 = help: see issue #48214
32 = note: the full name for the type has been written to '/long-type-HASH.txt'
33 = note: consider using `--verbose` to print the full type name to the console
34 = note: this error originates in the derive macro `TryFromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
35 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
36 |
37 9 + #![feature(trivial_bounds)]
38 |
39
40 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::TryFromBytes` is not satisfied
41 --> $DIR/late_compile_pass.rs:41:10
42 |
43 41 | #[derive(FromZeros)]
44 | ^^^^^^^^^ unsatisfied trait bound
45 |
46 help: the trait `zerocopy_renamed::TryFromBytes` is not implemented for `NotZerocopy`
47 --> $DIR/../include.rs:48:5
48 |
49 48 | pub struct NotZerocopy<T = ()>(pub T);
50 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
52 = help: the following other types implement trait `zerocopy_renamed::TryFromBytes`:
53 ()
54 (A, B)
55 (A, B, C)
56 (A, B, C, D)
57 (A, B, C, D, E)
58 (A, B, C, D, E, F)
59 (A, B, C, D, E, F, G)
60 (A, B, C, D, E, F, G, H)
61 and 156 others
62 = help: see issue #48214
63 = note: the full name for the type has been written to '/long-type-HASH.txt'
64 = note: consider using `--verbose` to print the full type name to the console
65 = note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
66 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
67 |
68 9 + #![feature(trivial_bounds)]
69 |
70
71 error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
72 --> $DIR/late_compile_pass.rs:41:10
73 |
74 41 | #[derive(FromZeros)]
75 | ^^^^^^^^^ unsatisfied trait bound
76 |
77 help: the trait `FromZeros` is not implemented for `NotZerocopy`
78 --> $DIR/../include.rs:48:5
79 |
80 48 | pub struct NotZerocopy<T = ()>(pub T);
81 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
82 = note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy`
83 = help: the following other types implement trait `FromZeros`:
84 ()
85 (A, B)
86 (A, B, C)
87 (A, B, C, D)
88 (A, B, C, D, E)
89 (A, B, C, D, E, F)
90 (A, B, C, D, E, F, G)
91 (A, B, C, D, E, F, G, H)
92 and 143 others
93 = help: see issue #48214
94 = note: the full name for the type has been written to '/long-type-HASH.txt'
95 = note: consider using `--verbose` to print the full type name to the console
96 = note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
97 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
98 |
99 9 + #![feature(trivial_bounds)]
100 |
101
102 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::TryFromBytes` is not satisfied
103 --> $DIR/late_compile_pass.rs:54:10
104 |
105 54 | #[derive(FromBytes)]
106 | ^^^^^^^^^ unsatisfied trait bound
107 |
108 help: the trait `zerocopy_renamed::TryFromBytes` is not implemented for `NotZerocopy`
109 --> $DIR/../include.rs:48:5
110 |
111 48 | pub struct NotZerocopy<T = ()>(pub T);
112 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
113 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
114 = help: the following other types implement trait `zerocopy_renamed::TryFromBytes`:
115 ()
116 (A, B)
117 (A, B, C)
118 (A, B, C, D)
119 (A, B, C, D, E)
120 (A, B, C, D, E, F)
121 (A, B, C, D, E, F, G)
122 (A, B, C, D, E, F, G, H)
123 and 156 others
124 = help: see issue #48214
125 = note: the full name for the type has been written to '/long-type-HASH.txt'
126 = note: consider using `--verbose` to print the full type name to the console
127 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
128 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
129 |
130 9 + #![feature(trivial_bounds)]
131 |
132
133 error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
134 --> $DIR/late_compile_pass.rs:54:10
135 |
136 54 | #[derive(FromBytes)]
137 | ^^^^^^^^^ unsatisfied trait bound
138 |
139 help: the trait `FromZeros` is not implemented for `NotZerocopy`
140 --> $DIR/../include.rs:48:5
141 |
142 48 | pub struct NotZerocopy<T = ()>(pub T);
143 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
144 = note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy`
145 = help: the following other types implement trait `FromZeros`:
146 ()
147 (A, B)
148 (A, B, C)
149 (A, B, C, D)
150 (A, B, C, D, E)
151 (A, B, C, D, E, F)
152 (A, B, C, D, E, F, G)
153 (A, B, C, D, E, F, G, H)
154 and 143 others
155 = help: see issue #48214
156 = note: the full name for the type has been written to '/long-type-HASH.txt'
157 = note: consider using `--verbose` to print the full type name to the console
158 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
159 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
160 |
161 9 + #![feature(trivial_bounds)]
162 |
163
164 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::FromBytes` is not satisfied
165 --> $DIR/late_compile_pass.rs:54:10
166 |
167 54 | #[derive(FromBytes)]
168 | ^^^^^^^^^ unsatisfied trait bound
169 |
170 help: the trait `zerocopy_renamed::FromBytes` is not implemented for `NotZerocopy`
171 --> $DIR/../include.rs:48:5
172 |
173 48 | pub struct NotZerocopy<T = ()>(pub T);
174 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
175 = note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy`
176 = help: the following other types implement trait `zerocopy_renamed::FromBytes`:
177 ()
178 (A, B)
179 (A, B, C)
180 (A, B, C, D)
181 (A, B, C, D, E)
182 (A, B, C, D, E, F)
183 (A, B, C, D, E, F, G)
184 (A, B, C, D, E, F, G, H)
185 and 80 others
186 = help: see issue #48214
187 = note: the full name for the type has been written to '/long-type-HASH.txt'
188 = note: consider using `--verbose` to print the full type name to the console
189 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
190 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
191 |
192 9 + #![feature(trivial_bounds)]
193 |
194
195 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::IntoBytes` is not satisfied
196 --> $DIR/late_compile_pass.rs:70:10
197 |
198 70 | #[derive(IntoBytes)]
199 | ^^^^^^^^^ unsatisfied trait bound
200 |
201 help: the trait `zerocopy_renamed::IntoBytes` is not implemented for `NotZerocopy`
202 --> $DIR/../include.rs:48:5
203 |
204 48 | pub struct NotZerocopy<T = ()>(pub T);
205 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206 = note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy`
207 = help: the following other types implement trait `zerocopy_renamed::IntoBytes`:
208 ()
209 AU16
210 AtomicBool
211 AtomicI16
212 AtomicI32
213 AtomicI64
214 AtomicI8
215 AtomicIsize
216 and 69 others
217 = help: see issue #48214
218 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
219 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
220 |
221 9 + #![feature(trivial_bounds)]
222 |
223
224 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
225 --> $DIR/late_compile_pass.rs:83:10
226 |
227 83 | #[derive(Unaligned)]
228 | ^^^^^^^^^ unsatisfied trait bound
229 |
230 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
231 --> $DIR/../include.rs:64:5
232 |
233 64 | pub struct AU16(pub u16);
234 | ^^^^^^^^^^^^^^^
235 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
236 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
237 ()
238 AtomicBool
239 AtomicI8
240 AtomicU8
241 Cell<T>
242 F32<O>
243 F64<O>
244 I128<O>
245 and 29 others
246 = help: see issue #48214
247 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
248 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
249 |
250 9 + #![feature(trivial_bounds)]
251 |
252
253 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
254 --> $DIR/late_compile_pass.rs:93:10
255 |
256 93 | #[derive(Unaligned)]
257 | ^^^^^^^^^ unsatisfied trait bound
258 |
259 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
260 --> $DIR/../include.rs:64:5
261 |
262 64 | pub struct AU16(pub u16);
263 | ^^^^^^^^^^^^^^^
264 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
265 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
266 ()
267 AtomicBool
268 AtomicI8
269 AtomicU8
270 Cell<T>
271 F32<O>
272 F64<O>
273 I128<O>
274 and 29 others
275 = help: see issue #48214
276 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
277 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
278 |
279 9 + #![feature(trivial_bounds)]
280 |
281
282 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
283 --> $DIR/late_compile_pass.rs:102:10
284 |
285 102 | #[derive(Unaligned)]
286 | ^^^^^^^^^ unsatisfied trait bound
287 |
288 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
289 --> $DIR/../include.rs:64:5
290 |
291 64 | pub struct AU16(pub u16);
292 | ^^^^^^^^^^^^^^^
293 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
294 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
295 ()
296 AtomicBool
297 AtomicI8
298 AtomicU8
299 Cell<T>
300 F32<O>
301 F64<O>
302 I128<O>
303 and 29 others
304 = help: see issue #48214
305 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
306 help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
307 |
308 9 + #![feature(trivial_bounds)]
309 |
310
311 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::FromBytes` is not satisfied
312 --> $DIR/late_compile_pass.rs:54:10
313 |
314 54 | #[derive(FromBytes)]
315 | ^^^^^^^^^ unsatisfied trait bound
316 |
317 help: the trait `zerocopy_renamed::FromBytes` is not implemented for `NotZerocopy`
318 --> $DIR/../include.rs:48:5
319 |
320 48 | pub struct NotZerocopy<T = ()>(pub T);
321 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
322 = note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy`
323 = help: the following other types implement trait `zerocopy_renamed::FromBytes`:
324 ()
325 (A, B)
326 (A, B, C)
327 (A, B, C, D)
328 (A, B, C, D, E)
329 (A, B, C, D, E, F)
330 (A, B, C, D, E, F, G)
331 (A, B, C, D, E, F, G, H)
332 and 80 others
333 note: required for `FromBytes1` to implement `zerocopy_renamed::FromBytes`
334 --> $DIR/late_compile_pass.rs:54:10
335 |
336 54 | #[derive(FromBytes)]
337 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
338 note: required by a bound in `_::_::<impl zerocopy_renamed::TryFromBytes for FromBytes1>::is_bit_valid::assert_is_from_bytes`
339 --> $DIR/late_compile_pass.rs:54:10
340 |
341 54 | #[derive(FromBytes)]
342 | ^^^^^^^^^ required by this bound in `assert_is_from_bytes`
343 = note: the full name for the type has been written to '/long-type-HASH.txt'
344 = note: consider using `--verbose` to print the full type name to the console
345 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
346
347 error: aborting due to 11 previous errors; 1 warning emitted
348
349 For more information about this error, try `rustc --explain E0277`.