Debian Codegraph @

debian/missing-sources/zerocopy-derive/tests/ui-nightly/late_compile_pass.stderr

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