[INFO] fetching crate cosmian-wit-parser 0.1.0... [INFO] checking cosmian-wit-parser-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cosmian-wit-parser 0.1.0 into /workspace/builds/worker-1-tc1/source [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] validating manifest of crates.io crate cosmian-wit-parser 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages to latest compatible versions [INFO] [stderr] Adding pulldown-cmark v0.8.0 (available: v0.13.0) [INFO] [stderr] Adding wast v33.0.0 (available: v237.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded witx v0.8.8 [INFO] [stderr] Downloaded wast v22.0.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cab6f57ef5c935a4460e83d98a75726833aa51f2ba7d608014a141ce9f683a60 [INFO] running `Command { std: "docker" "start" "-a" "cab6f57ef5c935a4460e83d98a75726833aa51f2ba7d608014a141ce9f683a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cab6f57ef5c935a4460e83d98a75726833aa51f2ba7d608014a141ce9f683a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab6f57ef5c935a4460e83d98a75726833aa51f2ba7d608014a141ce9f683a60", kill_on_drop: false }` [INFO] [stdout] cab6f57ef5c935a4460e83d98a75726833aa51f2ba7d608014a141ce9f683a60 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6974ef653a7868214085fa7e96a8cc1096c1c1cc6c9d03f83332b49b98b0f17c [INFO] running `Command { std: "docker" "start" "-a" "6974ef653a7868214085fa7e96a8cc1096c1c1cc6c9d03f83332b49b98b0f17c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [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] [stderr] Checking rayon v1.11.0 [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(Interface<'a>), [INFO] [stdout] 21 + Interface(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [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[E0432]: unresolved import `wit_parser` [INFO] [stdout] --> tests/all.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use wit_parser::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `wit_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wit_parser`, use `cargo add wit_parser` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `wit_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wit_parser`, use `cargo add wit_parser` to add it to your `Cargo.toml` [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 2 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(Interface<'a>), [INFO] [stdout] 21 + Interface(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6974ef653a7868214085fa7e96a8cc1096c1c1cc6c9d03f83332b49b98b0f17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6974ef653a7868214085fa7e96a8cc1096c1c1cc6c9d03f83332b49b98b0f17c", kill_on_drop: false }` [INFO] [stdout] 6974ef653a7868214085fa7e96a8cc1096c1c1cc6c9d03f83332b49b98b0f17c