[INFO] fetching crate cosmian-wit-parser 0.1.0... [INFO] checking cosmian-wit-parser-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate cosmian-wit-parser 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate cosmian-wit-parser 0.1.0 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 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-1-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 29 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding pulldown-cmark v0.8.0 (available: v0.12.1) [INFO] [stderr] Adding wast v22.0.0 (available: v217.0.0) [INFO] [stderr] Adding wast v33.0.0 (available: v217.0.0) [INFO] [stderr] Adding witx v0.8.8 (available: v0.9.1) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 318aaaabafbbffca37ced4dd06c347d3ba9d8f88bd671757c9434dbdb9066c4f [INFO] running `Command { std: "docker" "start" "-a" "318aaaabafbbffca37ced4dd06c347d3ba9d8f88bd671757c9434dbdb9066c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "318aaaabafbbffca37ced4dd06c347d3ba9d8f88bd671757c9434dbdb9066c4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318aaaabafbbffca37ced4dd06c347d3ba9d8f88bd671757c9434dbdb9066c4f", kill_on_drop: false }` [INFO] [stdout] 318aaaabafbbffca37ced4dd06c347d3ba9d8f88bd671757c9434dbdb9066c4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba2e81e158e1ed29cc5a788c1a92d43da859668f044dc87df73c0ad687eeeb94 [INFO] running `Command { std: "docker" "start" "-a" "ba2e81e158e1ed29cc5a788c1a92d43da859668f044dc87df73c0ad687eeeb94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [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.210 [INFO] [stderr] Checking serde_json v1.0.128 [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] 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] 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] 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: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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cosmian-wit-parser` (test "all") due to 3 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" "ba2e81e158e1ed29cc5a788c1a92d43da859668f044dc87df73c0ad687eeeb94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2e81e158e1ed29cc5a788c1a92d43da859668f044dc87df73c0ad687eeeb94", kill_on_drop: false }` [INFO] [stdout] ba2e81e158e1ed29cc5a788c1a92d43da859668f044dc87df73c0ad687eeeb94