[INFO] fetching crate wasm-encoder 0.38.1... [INFO] checking wasm-encoder-0.38.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-2 [INFO] extracting crate wasm-encoder 0.38.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate wasm-encoder 0.38.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm-encoder 0.38.1 [INFO] finished tweaking crates.io crate wasm-encoder 0.38.1 [INFO] tweaked toml for crates.io crate wasm-encoder 0.38.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding wasmparser v0.118.2 (latest: v0.202.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmparser v0.118.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1ad15ba4c132f1a14bb15e0561dedfc59a89f2cc9e197f66b5fc9632a1f48b6 [INFO] running `Command { std: "docker" "start" "-a" "f1ad15ba4c132f1a14bb15e0561dedfc59a89f2cc9e197f66b5fc9632a1f48b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1ad15ba4c132f1a14bb15e0561dedfc59a89f2cc9e197f66b5fc9632a1f48b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ad15ba4c132f1a14bb15e0561dedfc59a89f2cc9e197f66b5fc9632a1f48b6", kill_on_drop: false }` [INFO] [stdout] f1ad15ba4c132f1a14bb15e0561dedfc59a89f2cc9e197f66b5fc9632a1f48b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3864674bf4948780eca8eb46c798346c3cab06bb2f745b9858160227b0b2c4a [INFO] running `Command { std: "docker" "start" "-a" "c3864674bf4948780eca8eb46c798346c3cab06bb2f745b9858160227b0b2c4a", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking wasm-encoder v0.38.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `CustomSection` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `CustomSection` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encode` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Encode` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stdout] error[E0432]: unresolved import `wasmparser` [INFO] [stdout] --> src/core/dump.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | use wasmparser::{BinaryReader, FromReader, Parser, Payload}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmparser` [INFO] [stdout] --> src/core/producers.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | use wasmparser::{Parser, Payload, ProducersSectionReader}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/types.rs:602:29 [INFO] [stdout] | [INFO] [stdout] 602 | let mut validator = wasmparser::Validator::new_with_features(wasmparser::WasmFeatures { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:364:28 [INFO] [stdout] | [INFO] [stdout] 364 | let core = wasmparser::CoreDumpSection::from_reader(&mut BinaryReader::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 364 - let core = wasmparser::CoreDumpSection::from_reader(&mut BinaryReader::new( [INFO] [stdout] 364 + let core = CoreDumpSection::from_reader(&mut BinaryReader::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | let modules = wasmparser::CoreDumpModulesSection::from_reader( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpModulesSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpModulesSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 397 - let modules = wasmparser::CoreDumpModulesSection::from_reader( [INFO] [stdout] 397 + let modules = CoreDumpModulesSection::from_reader( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:432:37 [INFO] [stdout] | [INFO] [stdout] 432 | let coreinstances = wasmparser::CoreDumpInstancesSection::from_reader( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpInstancesSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpInstancesSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 432 - let coreinstances = wasmparser::CoreDumpInstancesSection::from_reader( [INFO] [stdout] 432 + let coreinstances = CoreDumpInstancesSection::from_reader( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | let corestack = wasmparser::CoreDumpStackSection::from_reader( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpStackSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpStackSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 478 - let corestack = wasmparser::CoreDumpStackSection::from_reader( [INFO] [stdout] 478 + let corestack = CoreDumpStackSection::from_reader( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 10), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 493 - &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 10), [INFO] [stdout] 493 + &CoreDumpValue::I32(val) => assert_eq!(val, 10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:498:22 [INFO] [stdout] | [INFO] [stdout] 498 | &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 42), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 498 - &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 42), [INFO] [stdout] 498 + &CoreDumpValue::I32(val) => assert_eq!(val, 42), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CustomSection` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `CustomSection` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encode` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Encode` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/types.rs:602:70 [INFO] [stdout] | [INFO] [stdout] 602 | let mut validator = wasmparser::Validator::new_with_features(wasmparser::WasmFeatures { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-encoder` (lib test) due to 11 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c3864674bf4948780eca8eb46c798346c3cab06bb2f745b9858160227b0b2c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3864674bf4948780eca8eb46c798346c3cab06bb2f745b9858160227b0b2c4a", kill_on_drop: false }` [INFO] [stdout] c3864674bf4948780eca8eb46c798346c3cab06bb2f745b9858160227b0b2c4a [INFO] checking wasm-encoder-0.38.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-2 [INFO] extracting crate wasm-encoder 0.38.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate wasm-encoder 0.38.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasm-encoder 0.38.1 [INFO] finished tweaking crates.io crate wasm-encoder 0.38.1 [INFO] tweaked toml for crates.io crate wasm-encoder 0.38.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a98dd1a1cba59dfc2fde51c4395f0e84735be116b0e9d9dcbb319226e7cd34b4 [INFO] running `Command { std: "docker" "start" "-a" "a98dd1a1cba59dfc2fde51c4395f0e84735be116b0e9d9dcbb319226e7cd34b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a98dd1a1cba59dfc2fde51c4395f0e84735be116b0e9d9dcbb319226e7cd34b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a98dd1a1cba59dfc2fde51c4395f0e84735be116b0e9d9dcbb319226e7cd34b4", kill_on_drop: false }` [INFO] [stdout] a98dd1a1cba59dfc2fde51c4395f0e84735be116b0e9d9dcbb319226e7cd34b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 290c11fd59777d3e324fa87f5e5f51458b457798a30d2ea9588dfd86c14d9d77 [INFO] running `Command { std: "docker" "start" "-a" "290c11fd59777d3e324fa87f5e5f51458b457798a30d2ea9588dfd86c14d9d77", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking wasm-encoder v0.38.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `CustomSection` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `CustomSection` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encode` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Encode` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stdout] error[E0432]: unresolved import `wasmparser` [INFO] [stdout] --> src/core/dump.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | use wasmparser::{BinaryReader, FromReader, Parser, Payload}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmparser` [INFO] [stdout] --> src/core/producers.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | use wasmparser::{Parser, Payload, ProducersSectionReader}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/types.rs:602:29 [INFO] [stdout] | [INFO] [stdout] 602 | let mut validator = wasmparser::Validator::new_with_features(wasmparser::WasmFeatures { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:364:28 [INFO] [stdout] | [INFO] [stdout] 364 | let core = wasmparser::CoreDumpSection::from_reader(&mut BinaryReader::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 364 - let core = wasmparser::CoreDumpSection::from_reader(&mut BinaryReader::new( [INFO] [stdout] 364 + let core = CoreDumpSection::from_reader(&mut BinaryReader::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | let modules = wasmparser::CoreDumpModulesSection::from_reader( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpModulesSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpModulesSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 397 - let modules = wasmparser::CoreDumpModulesSection::from_reader( [INFO] [stdout] 397 + let modules = CoreDumpModulesSection::from_reader( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:432:37 [INFO] [stdout] | [INFO] [stdout] 432 | let coreinstances = wasmparser::CoreDumpInstancesSection::from_reader( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpInstancesSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpInstancesSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 432 - let coreinstances = wasmparser::CoreDumpInstancesSection::from_reader( [INFO] [stdout] 432 + let coreinstances = CoreDumpInstancesSection::from_reader( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:478:33 [INFO] [stdout] | [INFO] [stdout] 478 | let corestack = wasmparser::CoreDumpStackSection::from_reader( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpStackSection; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpStackSection`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 478 - let corestack = wasmparser::CoreDumpStackSection::from_reader( [INFO] [stdout] 478 + let corestack = CoreDumpStackSection::from_reader( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:493:22 [INFO] [stdout] | [INFO] [stdout] 493 | &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 10), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 493 - &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 10), [INFO] [stdout] 493 + &CoreDumpValue::I32(val) => assert_eq!(val, 10), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/dump.rs:498:22 [INFO] [stdout] | [INFO] [stdout] 498 | &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 42), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 337 + use crate::CoreDumpValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `CoreDumpValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 498 - &wasmparser::CoreDumpValue::I32(val) => assert_eq!(val, 42), [INFO] [stdout] 498 + &CoreDumpValue::I32(val) => assert_eq!(val, 42), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CustomSection` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `CustomSection` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encode` is imported redundantly [INFO] [stdout] --> src/component/names.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `Encode` is already imported here [INFO] [stdout] 4 | use crate::{encoding_size, CustomSection, Encode, ExportKind, NameMap, SectionId}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasmparser` [INFO] [stdout] --> src/core/types.rs:602:70 [INFO] [stdout] | [INFO] [stdout] 602 | let mut validator = wasmparser::Validator::new_with_features(wasmparser::WasmFeatures { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wasmparser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-encoder` (lib test) due to 11 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "290c11fd59777d3e324fa87f5e5f51458b457798a30d2ea9588dfd86c14d9d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290c11fd59777d3e324fa87f5e5f51458b457798a30d2ea9588dfd86c14d9d77", kill_on_drop: false }` [INFO] [stdout] 290c11fd59777d3e324fa87f5e5f51458b457798a30d2ea9588dfd86c14d9d77