Bump wasmparser from 0.219.1 to 0.220.0 #2906
clippy
9 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 9 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.82.0 (f6e511eec 2024-10-15)
- cargo 1.82.0 (8f40fc59f 2024-08-21)
- clippy 0.1.82 (f6e511e 2024-10-15)
Annotations
Check failure on line 116 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::ExportKind: std::convert::From<wasmparser::ExternalKind>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::ExportKind: std::convert::From<wasmparser::ExternalKind>` is not satisfied
--> crates/build/src/post_process_wasm.rs:116:55
|
116 | exports.export(entry.name, entry.kind.into(), entry.index);
| ^^^^ the trait `std::convert::From<wasmparser::ExternalKind>` is not implemented for `wasm_encoder::ExportKind`, which is required by `wasmparser::ExternalKind: std::convert::Into<_>`
|
= help: the trait `std::convert::From<wasmparser::readers::core::exports::ExternalKind>` is implemented for `wasm_encoder::ExportKind`
= help: for that trait implementation, expected `wasmparser::readers::core::exports::ExternalKind`, found `wasmparser::ExternalKind`
= note: required for `wasmparser::ExternalKind` to implement `std::convert::Into<wasm_encoder::ExportKind>`
Check failure on line 116 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::ExportKind: std::convert::From<wasmparser::ExternalKind>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::ExportKind: std::convert::From<wasmparser::ExternalKind>` is not satisfied
--> crates/build/src/post_process_wasm.rs:116:55
|
116 | exports.export(entry.name, entry.kind.into(), entry.index);
| ^^^^ the trait `std::convert::From<wasmparser::ExternalKind>` is not implemented for `wasm_encoder::ExportKind`, which is required by `wasmparser::ExternalKind: std::convert::Into<_>`
|
= help: the trait `std::convert::From<wasmparser::readers::core::exports::ExternalKind>` is implemented for `wasm_encoder::ExportKind`
= help: for that trait implementation, expected `wasmparser::readers::core::exports::ExternalKind`, found `wasmparser::ExternalKind`
= note: required for `wasmparser::ExternalKind` to implement `std::convert::Into<wasm_encoder::ExportKind>`
Check failure on line 116 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::ExportKind: std::convert::From<wasmparser::ExternalKind>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::ExportKind: std::convert::From<wasmparser::ExternalKind>` is not satisfied
--> crates/build/src/post_process_wasm.rs:116:55
|
116 | exports.export(entry.name, entry.kind.into(), entry.index);
| ^^^^ the trait `std::convert::From<wasmparser::ExternalKind>` is not implemented for `wasm_encoder::ExportKind`, which is required by `wasmparser::ExternalKind: std::convert::Into<_>`
|
= help: the trait `std::convert::From<wasmparser::readers::core::exports::ExternalKind>` is implemented for `wasm_encoder::ExportKind`
= help: for that trait implementation, expected `wasmparser::readers::core::exports::ExternalKind`, found `wasmparser::ExternalKind`
= note: required for `wasmparser::ExternalKind` to implement `std::convert::Into<wasm_encoder::ExportKind>`
Check failure on line 66 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::EntityType: std::convert::From<wasmparser::TypeRef>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::EntityType: std::convert::From<wasmparser::TypeRef>` is not satisfied
--> crates/build/src/post_process_wasm.rs:65:31
|
65 | let mut entity = EntityType::try_from(
| _______________________________^
66 | | entry.ty).map_err(|_| anyhow!("Unsupported type in import section"))?;
| |_________________________^ the trait `std::convert::From<wasmparser::TypeRef>` is not implemented for `wasm_encoder::EntityType`, which is required by `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>`
|
= help: the following other types implement trait `std::convert::From<T>`:
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::GlobalType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::MemoryType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TableType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TagType>`
= note: required for `wasmparser::TypeRef` to implement `std::convert::Into<wasm_encoder::EntityType>`
= note: required for `wasm_encoder::EntityType` to implement `std::convert::TryFrom<wasmparser::TypeRef>`
Check failure on line 66 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::EntityType: std::convert::From<wasmparser::TypeRef>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::EntityType: std::convert::From<wasmparser::TypeRef>` is not satisfied
--> crates/build/src/post_process_wasm.rs:65:31
|
65 | let mut entity = EntityType::try_from(
| _______________________________^
66 | | entry.ty).map_err(|_| anyhow!("Unsupported type in import section"))?;
| |_________________________^ the trait `std::convert::From<wasmparser::TypeRef>` is not implemented for `wasm_encoder::EntityType`, which is required by `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>`
|
= help: the following other types implement trait `std::convert::From<T>`:
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::GlobalType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::MemoryType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TableType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TagType>`
= note: required for `wasmparser::TypeRef` to implement `std::convert::Into<wasm_encoder::EntityType>`
= note: required for `wasm_encoder::EntityType` to implement `std::convert::TryFrom<wasmparser::TypeRef>`
Check failure on line 66 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::EntityType: std::convert::From<wasmparser::TypeRef>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::EntityType: std::convert::From<wasmparser::TypeRef>` is not satisfied
--> crates/build/src/post_process_wasm.rs:65:31
|
65 | let mut entity = EntityType::try_from(
| _______________________________^
66 | | entry.ty).map_err(|_| anyhow!("Unsupported type in import section"))?;
| |_________________________^ the trait `std::convert::From<wasmparser::TypeRef>` is not implemented for `wasm_encoder::EntityType`, which is required by `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>`
|
= help: the following other types implement trait `std::convert::From<T>`:
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::GlobalType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::MemoryType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TableType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TagType>`
= note: required for `wasmparser::TypeRef` to implement `std::convert::Into<wasm_encoder::EntityType>`
= note: required for `wasm_encoder::EntityType` to implement `std::convert::TryFrom<wasmparser::TypeRef>`
Check failure on line 65 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>` is not satisfied
--> crates/build/src/post_process_wasm.rs:65:31
|
65 | let mut entity = EntityType::try_from(
| ^^^^^^^^^^ the trait `std::convert::From<wasmparser::TypeRef>` is not implemented for `wasm_encoder::EntityType`, which is required by `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>`
|
= help: the following other types implement trait `std::convert::From<T>`:
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::GlobalType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::MemoryType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TableType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TagType>`
= note: required for `wasmparser::TypeRef` to implement `std::convert::Into<wasm_encoder::EntityType>`
= note: required for `wasm_encoder::EntityType` to implement `std::convert::TryFrom<wasmparser::TypeRef>`
Check failure on line 65 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>` is not satisfied
--> crates/build/src/post_process_wasm.rs:65:31
|
65 | let mut entity = EntityType::try_from(
| ^^^^^^^^^^ the trait `std::convert::From<wasmparser::TypeRef>` is not implemented for `wasm_encoder::EntityType`, which is required by `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>`
|
= help: the following other types implement trait `std::convert::From<T>`:
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::GlobalType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::MemoryType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TableType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TagType>`
= note: required for `wasmparser::TypeRef` to implement `std::convert::Into<wasm_encoder::EntityType>`
= note: required for `wasm_encoder::EntityType` to implement `std::convert::TryFrom<wasmparser::TypeRef>`
Check failure on line 65 in crates/build/src/post_process_wasm.rs
github-actions / clippy
the trait bound `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>` is not satisfied
error[E0277]: the trait bound `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>` is not satisfied
--> crates/build/src/post_process_wasm.rs:65:31
|
65 | let mut entity = EntityType::try_from(
| ^^^^^^^^^^ the trait `std::convert::From<wasmparser::TypeRef>` is not implemented for `wasm_encoder::EntityType`, which is required by `wasm_encoder::EntityType: std::convert::TryFrom<wasmparser::TypeRef>`
|
= help: the following other types implement trait `std::convert::From<T>`:
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::GlobalType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::MemoryType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TableType>`
`wasm_encoder::EntityType` implements `std::convert::From<wasm_encoder::TagType>`
= note: required for `wasmparser::TypeRef` to implement `std::convert::Into<wasm_encoder::EntityType>`
= note: required for `wasm_encoder::EntityType` to implement `std::convert::TryFrom<wasmparser::TypeRef>`