[INFO] fetching crate witnext2 0.1.2... [INFO] checking witnext2-0.1.2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate witnext2 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate witnext2 0.1.2 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate witnext2 0.1.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate witnext2 0.1.2 [INFO] tweaked toml for crates.io crate witnext2 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] [stderr] Adding wast v33.0.0 (available: v217.0.0) [INFO] [stderr] Adding wast v36.0.0 (available: v217.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wast v36.0.0 [INFO] [stderr] Downloaded witnext v0.10.0-beta3 [INFO] [stderr] Downloaded wast v33.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70e6a18b02215e9d5728c9acf59fef69df8ef6066d6cfedd15921795ee51d1c3 [INFO] running `Command { std: "docker" "start" "-a" "70e6a18b02215e9d5728c9acf59fef69df8ef6066d6cfedd15921795ee51d1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70e6a18b02215e9d5728c9acf59fef69df8ef6066d6cfedd15921795ee51d1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e6a18b02215e9d5728c9acf59fef69df8ef6066d6cfedd15921795ee51d1c3", kill_on_drop: false }` [INFO] [stdout] 70e6a18b02215e9d5728c9acf59fef69df8ef6066d6cfedd15921795ee51d1c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05710b5f9210207c8b7e04fdb9fb92b1a3b86e49d8aa99009f3cb9f35d67e666 [INFO] running `Command { std: "docker" "start" "-a" "05710b5f9210207c8b7e04fdb9fb92b1a3b86e49d8aa99009f3cb9f35d67e666", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking witnext2 v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:334:36 [INFO] [stdout] | [INFO] [stdout] 334 | Some((_, '\'')) => ('\''), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 334 - Some((_, '\'')) => ('\''), [INFO] [stdout] 334 + Some((_, '\'')) => '\'', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:335:35 [INFO] [stdout] | [INFO] [stdout] 335 | Some((_, 't')) => ('\t'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - Some((_, 't')) => ('\t'), [INFO] [stdout] 335 + Some((_, 't')) => '\t', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | Some((_, 'n')) => ('\n'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 336 - Some((_, 'n')) => ('\n'), [INFO] [stdout] 336 + Some((_, 'n')) => '\n', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | Some((_, 'r')) => ('\r'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 337 - Some((_, 'r')) => ('\r'), [INFO] [stdout] 337 + Some((_, 'r')) => '\r', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:338:36 [INFO] [stdout] | [INFO] [stdout] 338 | Some((_, '\\')) => ('\\'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - Some((_, '\\')) => ('\\'), [INFO] [stdout] 338 + Some((_, '\\')) => '\\', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | Interface(Interface<'a>), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 21 | Interface(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:334:36 [INFO] [stdout] | [INFO] [stdout] 334 | Some((_, '\'')) => ('\''), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 334 - Some((_, '\'')) => ('\''), [INFO] [stdout] 334 + Some((_, '\'')) => '\'', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:335:35 [INFO] [stdout] | [INFO] [stdout] 335 | Some((_, 't')) => ('\t'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - Some((_, 't')) => ('\t'), [INFO] [stdout] 335 + Some((_, 't')) => '\t', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | Some((_, 'n')) => ('\n'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 336 - Some((_, 'n')) => ('\n'), [INFO] [stdout] 336 + Some((_, 'n')) => '\n', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:337:35 [INFO] [stdout] | [INFO] [stdout] 337 | Some((_, 'r')) => ('\r'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 337 - Some((_, 'r')) => ('\r'), [INFO] [stdout] 337 + Some((_, 'r')) => '\r', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/ast/lex.rs:338:36 [INFO] [stdout] | [INFO] [stdout] 338 | Some((_, '\\')) => ('\\'), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - Some((_, '\\')) => ('\\'), [INFO] [stdout] 338 + Some((_, '\\')) => '\\', [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | let result = witx2::Interface::parse_file(test); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Interface; [INFO] [stdout] | [INFO] [stdout] help: if you import `Interface`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 99 - let result = witx2::Interface::parse_file(test); [INFO] [stdout] 99 + let result = Interface::parse_file(test); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | witx2::TypeDefKind::Type(t) => Type::Primitive(translate_type(t)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - witx2::TypeDefKind::Type(t) => Type::Primitive(translate_type(t)), [INFO] [stdout] 262 + TypeDefKind::Type(t) => Type::Primitive(translate_type(t)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | witx2::TypeDefKind::Record(r) => Type::Record { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 263 - witx2::TypeDefKind::Record(r) => Type::Record { [INFO] [stdout] 263 + TypeDefKind::Record(r) => Type::Record { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | witx2::TypeDefKind::Variant(v) => Type::Variant { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 270 - witx2::TypeDefKind::Variant(v) => Type::Variant { [INFO] [stdout] 270 + TypeDefKind::Variant(v) => Type::Variant { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | witx2::TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 277 - witx2::TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)), [INFO] [stdout] 277 + TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | witx2::TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 278 - witx2::TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)), [INFO] [stdout] 278 + TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | witx2::TypeDefKind::List(ty) => Type::List(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 279 - witx2::TypeDefKind::List(ty) => Type::List(translate_type(ty)), [INFO] [stdout] 279 + TypeDefKind::List(ty) => Type::List(translate_type(ty)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | witx2::TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 280 - witx2::TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)), [INFO] [stdout] 280 + TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | witx2::TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::TypeDefKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `TypeDefKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 281 - witx2::TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)), [INFO] [stdout] 281 + TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | witx2::Type::U8 => format!("u8"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 287 - witx2::Type::U8 => format!("u8"), [INFO] [stdout] 287 + Type::U8 => format!("u8"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | witx2::Type::CChar => format!("c_char"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 288 - witx2::Type::CChar => format!("c_char"), [INFO] [stdout] 288 + Type::CChar => format!("c_char"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | witx2::Type::U16 => format!("u16"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 289 - witx2::Type::U16 => format!("u16"), [INFO] [stdout] 289 + Type::U16 => format!("u16"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | witx2::Type::U32 => format!("u32"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 290 - witx2::Type::U32 => format!("u32"), [INFO] [stdout] 290 + Type::U32 => format!("u32"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | witx2::Type::Usize => format!("usize"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 291 - witx2::Type::Usize => format!("usize"), [INFO] [stdout] 291 + Type::Usize => format!("usize"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | witx2::Type::U64 => format!("u64"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 292 - witx2::Type::U64 => format!("u64"), [INFO] [stdout] 292 + Type::U64 => format!("u64"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | witx2::Type::S8 => format!("s8"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 293 - witx2::Type::S8 => format!("s8"), [INFO] [stdout] 293 + Type::S8 => format!("s8"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | witx2::Type::S16 => format!("s16"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 294 - witx2::Type::S16 => format!("s16"), [INFO] [stdout] 294 + Type::S16 => format!("s16"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | witx2::Type::S32 => format!("s32"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 295 - witx2::Type::S32 => format!("s32"), [INFO] [stdout] 295 + Type::S32 => format!("s32"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | witx2::Type::S64 => format!("s64"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 296 - witx2::Type::S64 => format!("s64"), [INFO] [stdout] 296 + Type::S64 => format!("s64"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | witx2::Type::F32 => format!("f32"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 297 - witx2::Type::F32 => format!("f32"), [INFO] [stdout] 297 + Type::F32 => format!("f32"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | witx2::Type::F64 => format!("f64"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 298 - witx2::Type::F64 => format!("f64"), [INFO] [stdout] 298 + Type::F64 => format!("f64"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | witx2::Type::Char => format!("char"), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 299 - witx2::Type::Char => format!("char"), [INFO] [stdout] 299 + Type::Char => format!("char"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | witx2::Type::Handle(resource) => format!("handle-{}", resource.index()), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 300 - witx2::Type::Handle(resource) => format!("handle-{}", resource.index()), [INFO] [stdout] 300 + Type::Handle(resource) => format!("handle-{}", resource.index()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | witx2::Type::Id(id) => format!("type-{}", id.index()), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 10 + use witnext2::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 301 - witx2::Type::Id(id) => format!("type-{}", id.index()), [INFO] [stdout] 301 + Type::Id(id) => format!("type-{}", id.index()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | fn to_json(i: &witx2::Interface) -> String { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | fn translate_typedef(ty: &witx2::TypeDef) -> Type { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `witx2` [INFO] [stdout] --> tests/all.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | fn translate_type(ty: &witx2::Type) -> String { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `witx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `witnext2` (test "all") due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | Interface(Interface<'a>), [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 21 | Interface(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "05710b5f9210207c8b7e04fdb9fb92b1a3b86e49d8aa99009f3cb9f35d67e666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05710b5f9210207c8b7e04fdb9fb92b1a3b86e49d8aa99009f3cb9f35d67e666", kill_on_drop: false }` [INFO] [stdout] 05710b5f9210207c8b7e04fdb9fb92b1a3b86e49d8aa99009f3cb9f35d67e666