[INFO] fetching crate witx-overview-docgen 0.1.2... [INFO] building witx-overview-docgen-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate witx-overview-docgen 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate witx-overview-docgen 0.1.2 [INFO] finished tweaking crates.io crate witx-overview-docgen 0.1.2 [INFO] tweaked toml for crates.io crate witx-overview-docgen 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate witx-overview-docgen 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate witx-overview-docgen 0.1.2 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded wast v22.0.0 [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] [stderr] Downloaded witx v0.8.7 [INFO] [stderr] Downloaded hermit-abi v0.1.17 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded term_size v0.3.2 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded syn v1.0.44 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded thiserror v1.0.21 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded libc v0.2.79 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0e442f5261e603b524112e4758bd60f88300db2121c96c847beecef6a4e9079 [INFO] running `Command { std: "docker" "start" "-a" "a0e442f5261e603b524112e4758bd60f88300db2121c96c847beecef6a4e9079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0e442f5261e603b524112e4758bd60f88300db2121c96c847beecef6a4e9079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e442f5261e603b524112e4758bd60f88300db2121c96c847beecef6a4e9079", kill_on_drop: false }` [INFO] [stdout] a0e442f5261e603b524112e4758bd60f88300db2121c96c847beecef6a4e9079 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aff5fae82fc9f8a0661ed2b01004f8505eae44f504dfbfab8d6575850f0f0888 [INFO] running `Command { std: "docker" "start" "-a" "aff5fae82fc9f8a0661ed2b01004f8505eae44f504dfbfab8d6575850f0f0888", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling wast v22.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling witx v0.8.7 [INFO] [stderr] Compiling witx-overview-docgen v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/generator.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 292 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 293 | / if docs.is_empty() { [INFO] [stdout] 294 | | return Ok(()); [INFO] [stdout] 295 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_type` [INFO] [stdout] --> src/generator.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | as_type: &ASType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/generator.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let module_name = match self.module_name.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/generator.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_docs(w: &mut PrettyWriter, docs: &str) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/generator.rs:291:54 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_docs(w: &mut PrettyWriter, docs: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_nullable` is never used [INFO] [stdout] --> src/astype.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl ASType { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 61 | pub fn is_nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Witx(WitxError), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 - Witx(WitxError), [INFO] [stdout] 6 + Witx(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 7 - Io(std::io::Error), [INFO] [stdout] 7 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `continuation_bytes` is never read [INFO] [stdout] --> src/pretty_writer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PrettyWriter { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | continuation_bytes: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `continuation` is never used [INFO] [stdout] --> src/pretty_writer.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PrettyWriter { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn continuation(&mut self) -> Result<&mut Self, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.58s [INFO] running `Command { std: "docker" "inspect" "aff5fae82fc9f8a0661ed2b01004f8505eae44f504dfbfab8d6575850f0f0888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff5fae82fc9f8a0661ed2b01004f8505eae44f504dfbfab8d6575850f0f0888", kill_on_drop: false }` [INFO] [stdout] aff5fae82fc9f8a0661ed2b01004f8505eae44f504dfbfab8d6575850f0f0888 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca3814351f93ddfde5b99b8ae0a916ce45e0ba115976a71557d5ae45ace42988 [INFO] running `Command { std: "docker" "start" "-a" "ca3814351f93ddfde5b99b8ae0a916ce45e0ba115976a71557d5ae45ace42988", kill_on_drop: false }` [INFO] [stderr] Compiling witx-overview-docgen v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/generator.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 292 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] 293 | / if docs.is_empty() { [INFO] [stdout] 294 | | return Ok(()); [INFO] [stdout] 295 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_type` [INFO] [stdout] --> src/generator.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | as_type: &ASType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/generator.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | let module_name = match self.module_name.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/generator.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_docs(w: &mut PrettyWriter, docs: &str) -> Result<(), Error> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/generator.rs:291:54 [INFO] [stdout] | [INFO] [stdout] 291 | fn write_docs(w: &mut PrettyWriter, docs: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_nullable` is never used [INFO] [stdout] --> src/astype.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl ASType { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 61 | pub fn is_nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Witx(WitxError), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 6 - Witx(WitxError), [INFO] [stdout] 6 + Witx(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 7 - Io(std::io::Error), [INFO] [stdout] 7 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `continuation_bytes` is never read [INFO] [stdout] --> src/pretty_writer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PrettyWriter { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | continuation_bytes: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `continuation` is never used [INFO] [stdout] --> src/pretty_writer.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl PrettyWriter { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn continuation(&mut self) -> Result<&mut Self, Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "ca3814351f93ddfde5b99b8ae0a916ce45e0ba115976a71557d5ae45ace42988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3814351f93ddfde5b99b8ae0a916ce45e0ba115976a71557d5ae45ace42988", kill_on_drop: false }` [INFO] [stdout] ca3814351f93ddfde5b99b8ae0a916ce45e0ba115976a71557d5ae45ace42988