[INFO] fetching crate witx-overview-docgen 0.1.2... [INFO] building witx-overview-docgen-0.1.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate witx-overview-docgen 0.1.2 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate witx-overview-docgen 0.1.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e1b0f52b08240be4db1f1eb4b71cdf7066b310db92dfd5ddf211e2101a42d1c [INFO] running `Command { std: "docker" "start" "-a" "6e1b0f52b08240be4db1f1eb4b71cdf7066b310db92dfd5ddf211e2101a42d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e1b0f52b08240be4db1f1eb4b71cdf7066b310db92dfd5ddf211e2101a42d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e1b0f52b08240be4db1f1eb4b71cdf7066b310db92dfd5ddf211e2101a42d1c", kill_on_drop: false }` [INFO] [stdout] 6e1b0f52b08240be4db1f1eb4b71cdf7066b310db92dfd5ddf211e2101a42d1c [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af507819385493d5c59d7d46049192927d8bd3daa42038bd8eda27adaa71eb42 [INFO] running `Command { std: "docker" "start" "-a" "af507819385493d5c59d7d46049192927d8bd3daa42038bd8eda27adaa71eb42", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling anyhow v1.0.33 [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 vec_map v0.8.2 [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: `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] = note: `#[warn(unused_variables)]` (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] [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 14.30s [INFO] running `Command { std: "docker" "inspect" "af507819385493d5c59d7d46049192927d8bd3daa42038bd8eda27adaa71eb42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af507819385493d5c59d7d46049192927d8bd3daa42038bd8eda27adaa71eb42", kill_on_drop: false }` [INFO] [stdout] af507819385493d5c59d7d46049192927d8bd3daa42038bd8eda27adaa71eb42 [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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dbfdf75e563ee275b40bf75b6235317a0f9397cce795d1b5d06ddc30b87811a [INFO] running `Command { std: "docker" "start" "-a" "1dbfdf75e563ee275b40bf75b6235317a0f9397cce795d1b5d06ddc30b87811a", 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: `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] = note: `#[warn(unused_variables)]` (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] [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 `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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "1dbfdf75e563ee275b40bf75b6235317a0f9397cce795d1b5d06ddc30b87811a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbfdf75e563ee275b40bf75b6235317a0f9397cce795d1b5d06ddc30b87811a", kill_on_drop: false }` [INFO] [stdout] 1dbfdf75e563ee275b40bf75b6235317a0f9397cce795d1b5d06ddc30b87811a