[INFO] fetching crate witx-codegen 0.11.4... [INFO] checking witx-codegen-0.11.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate witx-codegen 0.11.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate witx-codegen 0.11.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate witx-codegen 0.11.4 [INFO] tweaked toml for crates.io crate witx-codegen 0.11.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate witx-codegen 0.11.4 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate witx-codegen 0.11.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 785b5d02c1766acf8350c03e45d03cb7a6aa19da28feb56e50e2692dbe867aa0 [INFO] running `Command { std: "docker" "start" "-a" "785b5d02c1766acf8350c03e45d03cb7a6aa19da28feb56e50e2692dbe867aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785b5d02c1766acf8350c03e45d03cb7a6aa19da28feb56e50e2692dbe867aa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785b5d02c1766acf8350c03e45d03cb7a6aa19da28feb56e50e2692dbe867aa0", kill_on_drop: false }` [INFO] [stdout] 785b5d02c1766acf8350c03e45d03cb7a6aa19da28feb56e50e2692dbe867aa0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f342486f840f97c29f353f50a5c28b5994ba4632d5f8ae70b357ba79cd4c829f [INFO] running `Command { std: "docker" "start" "-a" "f342486f840f97c29f353f50a5c28b5994ba4632d5f8ae70b357ba79cd4c829f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.4.17 [INFO] [stderr] Checking wast v36.0.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Checking convert_case v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking witnext v0.10.0-beta3 [INFO] [stderr] Checking witx-codegen v0.11.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/cpp/common.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_fn_suffix` and `as_namespace` are never used [INFO] [stdout] --> src/cpp/common.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Normalize { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn as_namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_fn_suffix` and `as_namespace` are never used [INFO] [stdout] --> src/doc/common.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Normalize { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn as_namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_fn_suffix` and `as_namespace` are never used [INFO] [stdout] --> src/overview/common.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Normalize { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn as_namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/rust/common.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/weet/common.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_fn_suffix` is never used [INFO] [stdout] --> src/weet/common.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Normalize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `define_union_member_accessors` and `define_union_member` are never used [INFO] [stdout] --> src/weet/union.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl WeetGenerator { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 6 | fn define_union_member_accessors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn define_union_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/zig/common.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_fn` is never used [INFO] [stdout] --> src/zig/common.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Normalize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn as_fn(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Set the module name to use instead of reading it from the witx file [INFO] [stdout] 41 | | #[structopt(short, long)] [INFO] [stdout] 42 | | pub module_name: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Output file, or - for the standard output [INFO] [stdout] 45 | | #[structopt(short, long)] [INFO] [stdout] 46 | | pub output_file: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// WITX files [INFO] [stdout] 49 | | #[structopt()] [INFO] [stdout] 50 | | pub witx_files: Vec, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `witx-codegen` (lib test) due to 3 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/cpp/common.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_fn_suffix` and `as_namespace` are never used [INFO] [stdout] --> src/cpp/common.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Normalize { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn as_namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_fn_suffix` and `as_namespace` are never used [INFO] [stdout] --> src/doc/common.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Normalize { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn as_namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_fn_suffix` and `as_namespace` are never used [INFO] [stdout] --> src/overview/common.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Normalize { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn as_namespace(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/rust/common.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/weet/common.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_fn_suffix` is never used [INFO] [stdout] --> src/weet/common.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Normalize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn as_fn_suffix(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `define_union_member_accessors` and `define_union_member` are never used [INFO] [stdout] --> src/weet/union.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl WeetGenerator { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 6 | fn define_union_member_accessors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn define_union_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IsNullable` is never used [INFO] [stdout] --> src/zig/common.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait IsNullable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_fn` is never used [INFO] [stdout] --> src/zig/common.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait Normalize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | fn as_fn(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Set the module name to use instead of reading it from the witx file [INFO] [stdout] 41 | | #[structopt(short, long)] [INFO] [stdout] 42 | | pub module_name: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Output file, or - for the standard output [INFO] [stdout] 45 | | #[structopt(short, long)] [INFO] [stdout] 46 | | pub output_file: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// WITX files [INFO] [stdout] 49 | | #[structopt()] [INFO] [stdout] 50 | | pub witx_files: Vec, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `witx-codegen` (lib) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f342486f840f97c29f353f50a5c28b5994ba4632d5f8ae70b357ba79cd4c829f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f342486f840f97c29f353f50a5c28b5994ba4632d5f8ae70b357ba79cd4c829f", kill_on_drop: false }` [INFO] [stdout] f342486f840f97c29f353f50a5c28b5994ba4632d5f8ae70b357ba79cd4c829f