[INFO] fetching crate wasmparser 0.219.1... [INFO] checking wasmparser-0.219.1 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate wasmparser 0.219.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate wasmparser 0.219.1 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmparser 0.219.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmparser 0.219.1 [INFO] tweaked toml for crates.io crate wasmparser 0.219.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate wasmparser 0.219.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb2fb9e0b123c4a18ada30e13e04fff536913e098ef5ba9d7dd8099e7f6b647f [INFO] running `Command { std: "docker" "start" "-a" "cb2fb9e0b123c4a18ada30e13e04fff536913e098ef5ba9d7dd8099e7f6b647f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb2fb9e0b123c4a18ada30e13e04fff536913e098ef5ba9d7dd8099e7f6b647f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2fb9e0b123c4a18ada30e13e04fff536913e098ef5ba9d7dd8099e7f6b647f", kill_on_drop: false }` [INFO] [stdout] cb2fb9e0b123c4a18ada30e13e04fff536913e098ef5ba9d7dd8099e7f6b647f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c24a62221ca756fb71b7137e7b1e769f27e436d6ec1f5af68630c01eb996d248 [INFO] running `Command { std: "docker" "start" "-a" "c24a62221ca756fb71b7137e7b1e769f27e436d6ec1f5af68630c01eb996d248", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking clap_builder v4.5.19 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking clap v4.5.19 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking regex v1.11.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking wasmparser v0.219.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Fixed src/binary_reader.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/validator/types.rs (4 fixes) [INFO] [stderr] Fixed src/validator/component_types.rs (4 fixes) [INFO] [stderr] Fixed src/validator/operators.rs (3 fixes) [INFO] [stderr] Fixed src/validator/core.rs (1 fix) [INFO] [stderr] Fixed src/features.rs (2 fixes) [INFO] [stderr] Fixed src/readers/core/reloc.rs (1 fix) [INFO] [stderr] Migrating benches/benchmark.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:1362:13 [INFO] [stdout] | [INFO] [stdout] 1362 | ($a:expr, $b:pat $(,)?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1362 | ($a:expr_2021, $b:pat $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> src/validator.rs:1565:21 [INFO] [stdout] | [INFO] [stdout] 1565 | let bytes = wat::parse_str( [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> src/validator.rs:1655:21 [INFO] [stdout] | [INFO] [stdout] 1655 | let bytes = wat::parse_str( [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> src/validator.rs:1689:21 [INFO] [stdout] | [INFO] [stdout] 1689 | let bytes = wat::parse_str( [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/collections/index_map/tests.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(map.values().eq([].iter())); [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `I` declared on the method `eq` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 45 | assert!(map.values().eq::>([].iter())); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/collections/index_map/tests.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | assert!(map.values().eq([].iter())); [INFO] [stdout] | ^^ cannot infer type of the type parameter `I` declared on the method `eq` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] = note: required for `&i32` to implement `PartialEq<&_>` [INFO] [stdout] note: required by a bound in `core::iter::Iterator::eq` [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/core/src/iter/traits/iterator.rs:3720:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 45 | assert!(map.values().eq::>([].iter())); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/collections/index_map/tests.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(map.values_mut().eq([].iter())); [INFO] [stdout] | ^^ cannot infer type of the type parameter `I` declared on the method `eq` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] = note: required for `&mut i32` to implement `PartialEq<&_>` [INFO] [stdout] note: required by a bound in `core::iter::Iterator::eq` [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/core/src/iter/traits/iterator.rs:3720:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 46 | assert!(map.values_mut().eq::>([].iter())); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/collections/index_map/tests.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(map.values().eq([].iter())); [INFO] [stdout] | ^^ -- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `I` declared on the method `eq` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | assert!(map.values().eq::>([].iter())); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/collections/index_map/tests.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(map.values().eq([].iter())); [INFO] [stdout] | ^^ cannot infer type of the type parameter `I` declared on the method `eq` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] = note: required for `&i32` to implement `PartialEq<&_>` [INFO] [stdout] note: required by a bound in `core::iter::Iterator::eq` [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/core/src/iter/traits/iterator.rs:3720:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 95 | assert!(map.values().eq::>([].iter())); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/collections/index_map/tests.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(map.values_mut().eq([].iter())); [INFO] [stdout] | ^^ cannot infer type of the type parameter `I` declared on the method `eq` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `i32: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] - impl PartialEq for i32; [INFO] [stdout] = note: required for `&mut i32` to implement `PartialEq<&_>` [INFO] [stdout] note: required by a bound in `core::iter::Iterator::eq` [INFO] [stdout] --> /rustc/da25749bf5e6ba5ed862ff361c19afff2a986b2d/library/core/src/iter/traits/iterator.rs:3720:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 96 | assert!(map.values_mut().eq::>([].iter())); [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmparser` (lib test) due to 9 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] Migrating examples/simple.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wast` [INFO] [stdout] --> benches/benchmark.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let buf = match wast::parser::ParseBuffer::new(&contents) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wast` [INFO] [stdout] --> benches/benchmark.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | let wast: wast::Wast<'_> = match wast::parser::parse(&buf) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wast` [INFO] [stdout] --> benches/benchmark.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | wast::WastDirective::Module(mut module) [INFO] [stdout] | ^^^^ use of undeclared crate or module `wast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wast` [INFO] [stdout] --> benches/benchmark.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | | wast::WastDirective::ModuleDefinition(mut module) => { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> benches/benchmark.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | if let Ok(wasm) = wat::parse_file(&path) { [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wast` [INFO] [stdout] --> benches/benchmark.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let wast: wast::Wast<'_> = match wast::parser::parse(&buf) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `wast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmparser` (bench "benchmark") due to 6 previous errors [INFO] [stderr] Migrating tests/big-module.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `wasm_encoder` [INFO] [stdout] --> tests/big-module.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_encoder::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `wasm_encoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmparser` (test "big-module") due to 1 previous error [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" "c24a62221ca756fb71b7137e7b1e769f27e436d6ec1f5af68630c01eb996d248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c24a62221ca756fb71b7137e7b1e769f27e436d6ec1f5af68630c01eb996d248", kill_on_drop: false }` [INFO] [stdout] c24a62221ca756fb71b7137e7b1e769f27e436d6ec1f5af68630c01eb996d248