[INFO] fetching crate wast 69.0.1... [INFO] checking wast-69.0.1 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate wast 69.0.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate wast 69.0.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 wast 69.0.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wast 69.0.1 [INFO] tweaked toml for crates.io crate wast 69.0.1 written to /workspace/builds/worker-6-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 wasm-encoder v0.38.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7f34f0e56ab3a31a9a0e3839a6ea04ec12ce3088fa060b6ea852ac1b7599fa69 [INFO] running `Command { std: "docker" "start" "-a" "7f34f0e56ab3a31a9a0e3839a6ea04ec12ce3088fa060b6ea852ac1b7599fa69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f34f0e56ab3a31a9a0e3839a6ea04ec12ce3088fa060b6ea852ac1b7599fa69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f34f0e56ab3a31a9a0e3839a6ea04ec12ce3088fa060b6ea852ac1b7599fa69", kill_on_drop: false }` [INFO] [stdout] 7f34f0e56ab3a31a9a0e3839a6ea04ec12ce3088fa060b6ea852ac1b7599fa69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0bc9edd38a40e39fac014f7775c2583f6c6d9e5cd845fa6d5326275d7bf16fcb [INFO] running `Command { std: "docker" "start" "-a" "0bc9edd38a40e39fac014f7775c2583f6c6d9e5cd845fa6d5326275d7bf16fcb", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking wasm-encoder v0.38.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wast v69.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasmparser` [INFO] [stdout] --> tests/annotations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use wasmparser::*; [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 `wat` [INFO] [stdout] --> tests/parse-fail.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let err = match wat::parse_file(test) { [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 50 | let err = match wast::parse_file(test) { [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> tests/recursive.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(wat::parse_str(&s).is_err()); [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | assert!(wast::parse_str(&s).is_err()); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wast` (test "recursive") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wast` (test "parse-fail") due to 2 previous errors [INFO] [stdout] error[E0412]: cannot find type `NameSectionReader` in this scope [INFO] [stdout] --> tests/annotations.rs:99:52 [INFO] [stdout] | [INFO] [stdout] 99 | fn get_name_section(wasm: &[u8]) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> tests/annotations.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | for payload in Parser::new(0).parse_all(&wasm) { [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use wast::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> tests/annotations.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | let wasm = Parser::new(0) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use wast::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> tests/annotations.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 13 | let wasm = wast::parse_str(wat)?; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> tests/annotations.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 38 | let wasm = wast::parse_str(wat)?; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> tests/annotations.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | let wasm = wat::parse_str(wat)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | let wasm = wast::parse_str(wat)?; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NameSectionReader` [INFO] [stdout] --> tests/annotations.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(NameSectionReader::new(c.data(), c.data_offset())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `NameSectionReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wat` [INFO] [stdout] --> tests/annotations.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let bytes = wat::parse_str( [INFO] [stdout] | ^^^ use of undeclared crate or module `wat` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 112 | let bytes = wast::parse_str( [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | Payload::End(x) if *x == bytes.len() => {} [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Name` [INFO] [stdout] --> tests/annotations.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Name::Module { name, .. } => { [INFO] [stdout] | ^^^^ use of undeclared type `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Payload::CustomSection(c) if c.name() == "D" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Name` [INFO] [stdout] --> tests/annotations.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Name::Function(n) => { [INFO] [stdout] | ^^^^ use of undeclared type `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | Payload::CustomSection(c) if c.name() == "A" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Name` [INFO] [stdout] --> tests/annotations.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | Name::Local(n) => { [INFO] [stdout] | ^^^^ use of undeclared type `Name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | if let Payload::CustomSection(c) = payload? { [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | Payload::CustomSection(c) if c.name() == "G" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | Payload::CustomSection(c) if c.name() == "H" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:143:30 [INFO] [stdout] | [INFO] [stdout] 143 | assert_matches!(wasm[0], Payload::Version { .. }); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | Payload::CustomSection(c) if c.name() == "K" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | Payload::CustomSection(c) if c.name() == "F" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | assert_matches!(wasm[3], Payload::TypeSection(_)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | Payload::CustomSection(c) if c.name() == "E" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | Payload::CustomSection(c) if c.name() == "C" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | Payload::CustomSection(c) if c.name() == "J" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | assert_matches!(wasm[7], Payload::FunctionSection(_)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | Payload::CustomSection(c) if c.name() == "B" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | Payload::CustomSection(c) if c.name() == "I" [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | assert_matches!(wasm[10], Payload::TableSection(_)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:175:31 [INFO] [stdout] | [INFO] [stdout] 175 | assert_matches!(wasm[11], Payload::CodeSectionStart { .. }); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Payload` [INFO] [stdout] --> tests/annotations.rs:176:31 [INFO] [stdout] | [INFO] [stdout] 176 | assert_matches!(wasm[12], Payload::CodeSectionEntry { .. }); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wast` (test "annotations") due to 32 previous errors [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(pub $crate::token::Span); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/custom.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | custom_keyword!(flag = $kw); [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 363 | / parse_flags! { [INFO] [stdout] 364 | | "binding-weak" = 1 << 0, [INFO] [stdout] 365 | | "binding-local" = 1 << 1, [INFO] [stdout] 366 | | "visibility-hidden" = 1 << 2, [INFO] [stdout] ... | [INFO] [stdout] 370 | | "no-strip" = 1 << 7, [INFO] [stdout] 371 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `flag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: this warning originates in the macro `custom_keyword` which comes from the expansion of the macro `parse_flags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | pub struct $name(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0bc9edd38a40e39fac014f7775c2583f6c6d9e5cd845fa6d5326275d7bf16fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc9edd38a40e39fac014f7775c2583f6c6d9e5cd845fa6d5326275d7bf16fcb", kill_on_drop: false }` [INFO] [stdout] 0bc9edd38a40e39fac014f7775c2583f6c6d9e5cd845fa6d5326275d7bf16fcb