[INFO] fetching crate wasm-encoder 0.38.1... [INFO] checking wasm-encoder-0.38.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate wasm-encoder 0.38.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate wasm-encoder 0.38.1 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca5311d4ae2385e668f6de8a9acc05bd149b79c17d929ad5db7942400a44b8f8 [INFO] running `Command { std: "docker" "start" "-a" "ca5311d4ae2385e668f6de8a9acc05bd149b79c17d929ad5db7942400a44b8f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca5311d4ae2385e668f6de8a9acc05bd149b79c17d929ad5db7942400a44b8f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5311d4ae2385e668f6de8a9acc05bd149b79c17d929ad5db7942400a44b8f8", kill_on_drop: false }` [INFO] [stdout] ca5311d4ae2385e668f6de8a9acc05bd149b79c17d929ad5db7942400a44b8f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b3bf769a7feeaa560d26d6be487bf8c3fc0e177e2459c93971aa1ad4e5e2c7c [INFO] running `Command { std: "docker" "start" "-a" "1b3bf769a7feeaa560d26d6be487bf8c3fc0e177e2459c93971aa1ad4e5e2c7c", kill_on_drop: false }` [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking wasm-encoder v0.38.1 (/opt/rustwide/workdir) [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] 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] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1b3bf769a7feeaa560d26d6be487bf8c3fc0e177e2459c93971aa1ad4e5e2c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3bf769a7feeaa560d26d6be487bf8c3fc0e177e2459c93971aa1ad4e5e2c7c", kill_on_drop: false }` [INFO] [stdout] 1b3bf769a7feeaa560d26d6be487bf8c3fc0e177e2459c93971aa1ad4e5e2c7c