[INFO] fetching crate default-constructor 0.5.1...
[INFO] checking default-constructor-0.5.1 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] extracting crate default-constructor 0.5.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate default-constructor 0.5.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate default-constructor 0.5.1
[INFO] tweaked toml for crates.io crate default-constructor 0.5.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate default-constructor 0.5.1 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 8 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dbdf03c7618ef47042332042c92b5709e8259f9edcb2ab8d54dff6811d35f825
[INFO] running `Command { std: "docker" "start" "-a" "dbdf03c7618ef47042332042c92b5709e8259f9edcb2ab8d54dff6811d35f825", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dbdf03c7618ef47042332042c92b5709e8259f9edcb2ab8d54dff6811d35f825", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbdf03c7618ef47042332042c92b5709e8259f9edcb2ab8d54dff6811d35f825", kill_on_drop: false }`
[INFO] [stdout] dbdf03c7618ef47042332042c92b5709e8259f9edcb2ab8d54dff6811d35f825
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c384246bff34eeabe71336451eed9094b4dc2771b9e70ef27aa8fdf5a459cb5
[INFO] running `Command { std: "docker" "start" "-a" "8c384246bff34eeabe71336451eed9094b4dc2771b9e70ef27aa8fdf5a459cb5", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling default-constructor-macros v0.5.1
[INFO] [stderr]     Checking default-constructor v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: struct `Str` is never constructed
[INFO] [stdout]    --> tests/test.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub struct Str(String);
[INFO] [stdout]     |            ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `a`, `b`, `c`, `d`, `e`, and `f` are never read
[INFO] [stdout]   --> tests/test.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct B {
[INFO] [stdout]    |            - fields in this struct
[INFO] [stdout]  7 |     a: String,
[INFO] [stdout]    |     ^
[INFO] [stdout]  8 |     b: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout]  9 |     c: char,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     d: Vec<u8>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 11 |     e: A,
[INFO] [stdout]    |     ^
[INFO] [stdout] 12 |     f: Box<A>,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `a`, `b`, `c`, and `t` are never read
[INFO] [stdout]   --> tests/test.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct C<T> {
[INFO] [stdout]    |            - fields in this struct
[INFO] [stdout] 17 |     a: String,
[INFO] [stdout]    |     ^
[INFO] [stdout] 18 |     b: f32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 19 |     c: char,
[INFO] [stdout]    |     ^
[INFO] [stdout] 20 |     t: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> tests/test.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct D<T>(String, f32, char, T);
[INFO] [stdout]    |            -    ^^^^^^  ^^^  ^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub struct D<T>(String, f32, char, T);
[INFO] [stdout] 24 + pub struct D<T>((), (), (), T);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `aaaa`, `aaab`, `aaac`, `bbba`, `bcac`, and `bbab` are never read
[INFO] [stdout]   --> tests/test.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct TestAutoCompletion {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] 37 |     aaaa: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 38 |     aaab: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 39 |     aaac: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 40 |     bbba: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 41 |     bcac: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 42 |     bbab: f32,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `do_thing` is never used
[INFO] [stdout]   --> tests/test.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn do_thing() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `a`, `b`, `c`, and `d` are never read
[INFO] [stdout]    --> tests/test.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct E {
[INFO] [stdout]     |            - fields in this struct
[INFO] [stdout] 160 |     a: Box<String>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 161 |     b: Rc<String>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 162 |     c: Arc<String>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 163 |     d: Option<String>,
[INFO] [stdout]     |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_effect` is never used
[INFO] [stdout]    --> tests/test.rs:166:4
[INFO] [stdout]     |
[INFO] [stdout] 166 | fn test_effect() {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_into` is never used
[INFO] [stdout]    --> tests/test.rs:177:4
[INFO] [stdout]     |
[INFO] [stdout] 177 | fn test_into(a: impl Into<String>) -> String {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> tests/test.rs:181:16
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub struct Str(String);
[INFO] [stdout]     |            --- ^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_tuple` is never used
[INFO] [stdout]    --> tests/test.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn test_tuple() {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> tests/test.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub struct A {
[INFO] [stdout]    |                - fields in this struct
[INFO] [stdout] 50 |         pub a: String,
[INFO] [stdout]    |             ^
[INFO] [stdout] 51 |         pub b: f32,
[INFO] [stdout]    |             ^
[INFO] [stdout] 52 |         pub c: char,
[INFO] [stdout]    |             ^
[INFO] [stdout] 53 |         pub d: Vec<u8>,
[INFO] [stdout]    |             ^
[INFO] [stdout] 54 |         pub e: HashMap<Option<f32>, Box<char>>,
[INFO] [stdout]    |             ^
[INFO] [stdout] 55 |         pub f: i32,
[INFO] [stdout]    |             ^
[INFO] [stdout] 56 |         pub g: Vec<String>,
[INFO] [stdout]    |             ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `default-constructor` (test "test") due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8c384246bff34eeabe71336451eed9094b4dc2771b9e70ef27aa8fdf5a459cb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c384246bff34eeabe71336451eed9094b4dc2771b9e70ef27aa8fdf5a459cb5", kill_on_drop: false }`
[INFO] [stdout] 8c384246bff34eeabe71336451eed9094b4dc2771b9e70ef27aa8fdf5a459cb5
