[INFO] fetching crate cosmian-wit-parser 0.1.0...
[INFO] checking cosmian-wit-parser-0.1.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate cosmian-wit-parser 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate cosmian-wit-parser 0.1.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] tweaked toml for crates.io crate cosmian-wit-parser 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 30 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding pulldown-cmark v0.8.0 (latest: v0.10.3)
[INFO] [stderr]       Adding wast v22.0.0 (latest: v206.0.0)
[INFO] [stderr]       Adding wast v33.0.0 (latest: v206.0.0)
[INFO] [stderr]       Adding witx v0.8.8 (latest: v0.9.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wast v33.0.0
[INFO] [stderr]   Downloaded pulldown-cmark v0.8.0
[INFO] [stderr]   Downloaded wast v22.0.0
[INFO] [stderr]   Downloaded witx v0.8.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f63e444d76179e710f49a46ce8139cace1d14c54e22c078b051c9c8b0c410993
[INFO] running `Command { std: "docker" "start" "-a" "f63e444d76179e710f49a46ce8139cace1d14c54e22c078b051c9c8b0c410993", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f63e444d76179e710f49a46ce8139cace1d14c54e22c078b051c9c8b0c410993", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f63e444d76179e710f49a46ce8139cace1d14c54e22c078b051c9c8b0c410993", kill_on_drop: false }`
[INFO] [stdout] f63e444d76179e710f49a46ce8139cace1d14c54e22c078b051c9c8b0c410993
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 383f29affb6a4bd4cef12414f1700e900810aa12a19de66fd76b93ab99a0488c
[INFO] running `Command { std: "docker" "start" "-a" "383f29affb6a4bd4cef12414f1700e900810aa12a19de66fd76b93ab99a0488c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking cosmian-wit-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[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((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[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 serde_derive v1.0.200
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]   --> tests/all.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use wit_parser::*;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]    --> tests/all.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         use wit_parser::Type;
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interface`
[INFO] [stdout]    --> tests/all.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let result = Interface::parse_file(test);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Interface`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Interface` in this scope
[INFO] [stdout]    --> tests/all.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn to_json(i: &Interface) -> String {
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:267:13
[INFO] [stdout]     |
[INFO] [stdout] 267 |             TypeDefKind::Type(t) => Type::Primitive(translate_type(t)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             TypeDefKind::Record(r) => Type::Record {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             TypeDefKind::Variant(v) => Type::Variant {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:282:13
[INFO] [stdout]     |
[INFO] [stdout] 282 |             TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |             TypeDefKind::List(ty) => Type::List(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |             TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |             TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[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((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cosmian-wit-parser` (test "all") due to 15 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:265:31
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn translate_typedef(ty: &wit_parser::TypeDef) -> Type {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:290:28
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn translate_type(ty: &wit_parser::Type) -> String {
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 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] [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" "383f29affb6a4bd4cef12414f1700e900810aa12a19de66fd76b93ab99a0488c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "383f29affb6a4bd4cef12414f1700e900810aa12a19de66fd76b93ab99a0488c", kill_on_drop: false }`
[INFO] [stdout] 383f29affb6a4bd4cef12414f1700e900810aa12a19de66fd76b93ab99a0488c
[INFO] checking cosmian-wit-parser-0.1.0 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate cosmian-wit-parser 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate cosmian-wit-parser 0.1.0 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] tweaked toml for crates.io crate cosmian-wit-parser 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 30 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding pulldown-cmark v0.8.0 (latest: v0.10.3)
[INFO] [stderr]       Adding wast v22.0.0 (latest: v206.0.0)
[INFO] [stderr]       Adding wast v33.0.0 (latest: v206.0.0)
[INFO] [stderr]       Adding witx v0.8.8 (latest: v0.9.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 34d7dd587af2f39749caaf136f285af2fafb2c3b8d387ab706b183fea982855f
[INFO] running `Command { std: "docker" "start" "-a" "34d7dd587af2f39749caaf136f285af2fafb2c3b8d387ab706b183fea982855f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34d7dd587af2f39749caaf136f285af2fafb2c3b8d387ab706b183fea982855f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34d7dd587af2f39749caaf136f285af2fafb2c3b8d387ab706b183fea982855f", kill_on_drop: false }`
[INFO] [stdout] 34d7dd587af2f39749caaf136f285af2fafb2c3b8d387ab706b183fea982855f
[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=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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac3673e8c8cde2b9a63350f8937c9d347a124b2a300e68504a04c437554172a5
[INFO] running `Command { std: "docker" "start" "-a" "ac3673e8c8cde2b9a63350f8937c9d347a124b2a300e68504a04c437554172a5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking cosmian-wit-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[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((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[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 serde_derive v1.0.200
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]   --> tests/all.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use wit_parser::*;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]    --> tests/all.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         use wit_parser::Type;
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[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((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interface`
[INFO] [stdout]    --> tests/all.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let result = Interface::parse_file(test);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Interface`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Interface` in this scope
[INFO] [stdout]    --> tests/all.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn to_json(i: &Interface) -> String {
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:267:13
[INFO] [stdout]     |
[INFO] [stdout] 267 |             TypeDefKind::Type(t) => Type::Primitive(translate_type(t)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             TypeDefKind::Record(r) => Type::Record {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             TypeDefKind::Variant(v) => Type::Variant {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:282:13
[INFO] [stdout]     |
[INFO] [stdout] 282 |             TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |             TypeDefKind::List(ty) => Type::List(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |             TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |             TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:265:31
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn translate_typedef(ty: &wit_parser::TypeDef) -> Type {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:290:28
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn translate_type(ty: &wit_parser::Type) -> String {
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 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 `cosmian-wit-parser` (test "all") due to 15 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" "ac3673e8c8cde2b9a63350f8937c9d347a124b2a300e68504a04c437554172a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac3673e8c8cde2b9a63350f8937c9d347a124b2a300e68504a04c437554172a5", kill_on_drop: false }`
[INFO] [stdout] ac3673e8c8cde2b9a63350f8937c9d347a124b2a300e68504a04c437554172a5
