[INFO] fetching crate cosmian-wit-parser 0.1.0... [INFO] testing cosmian-wit-parser-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cosmian-wit-parser 0.1.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cosmian-wit-parser 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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: v235.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded witx v0.8.8 [INFO] [stderr] Downloaded wast v33.0.0 [INFO] [stderr] Downloaded wast v22.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7acdef9d1eae14217ec966e08ffa67b7cf60de30f6dedc0c40ec2fbc61c16079 [INFO] running `Command { std: "docker" "start" "-a" "7acdef9d1eae14217ec966e08ffa67b7cf60de30f6dedc0c40ec2fbc61c16079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7acdef9d1eae14217ec966e08ffa67b7cf60de30f6dedc0c40ec2fbc61c16079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7acdef9d1eae14217ec966e08ffa67b7cf60de30f6dedc0c40ec2fbc61c16079", kill_on_drop: false }` [INFO] [stdout] 7acdef9d1eae14217ec966e08ffa67b7cf60de30f6dedc0c40ec2fbc61c16079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e967bf5b7cdddd609636b1beb88b588b48ddc6f886fd1f1fdb9827f32c996962 [INFO] running `Command { std: "docker" "start" "-a" "e967bf5b7cdddd609636b1beb88b588b48ddc6f886fd1f1fdb9827f32c996962", kill_on_drop: false }` [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling 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(Interface<'a>), [INFO] [stdout] 21 + Interface(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "e967bf5b7cdddd609636b1beb88b588b48ddc6f886fd1f1fdb9827f32c996962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e967bf5b7cdddd609636b1beb88b588b48ddc6f886fd1f1fdb9827f32c996962", kill_on_drop: false }` [INFO] [stdout] e967bf5b7cdddd609636b1beb88b588b48ddc6f886fd1f1fdb9827f32c996962 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 58296ae49a6e73a30273b493f5a83b5ecf88dc1c6920e43fadff2dded23c81b3 [INFO] running `Command { std: "docker" "start" "-a" "58296ae49a6e73a30273b493f5a83b5ecf88dc1c6920e43fadff2dded23c81b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [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(Interface<'a>), [INFO] [stdout] 21 + Interface(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cosmian-wit-parser v0.1.0 (/opt/rustwide/workdir) [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] 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] 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" "58296ae49a6e73a30273b493f5a83b5ecf88dc1c6920e43fadff2dded23c81b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58296ae49a6e73a30273b493f5a83b5ecf88dc1c6920e43fadff2dded23c81b3", kill_on_drop: false }` [INFO] [stdout] 58296ae49a6e73a30273b493f5a83b5ecf88dc1c6920e43fadff2dded23c81b3